[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] doc: fix description of tail -f on truncated files
From: |
Pádraig Brady |
Subject: |
[PATCH] doc: fix description of tail -f on truncated files |
Date: |
Sun, 9 Jun 2019 12:42:41 +0100 |
* doc/coreutils.texi (tail invocation): Update to match
the new behavior following commit v8.23-189-gb28ff6a
---
doc/coreutils.texi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 91f2e6d..f543787 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -3078,7 +3078,8 @@ the need for any periodic reopening.
No matter which method you use, if the tracked file is determined to have
shrunk, @command{tail} prints a message saying the file has been truncated
-and resumes tracking the end of the file from the newly-determined endpoint.
+and resumes tracking from the start of the file, assuming it has been
+truncated to 0, which is the usual truncation operation for log files.
When a file is removed, @command{tail}'s behavior depends on whether it is
following the name or the descriptor. When following by name, tail can
--
2.9.3
- [PATCH] doc: fix description of tail -f on truncated files,
Pádraig Brady <=