summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-12-30 14:23:45 +0100
committerJim Meyering <meyering@redhat.com>2009-12-31 09:42:52 +0100
commitf428e548e52d76a5ed729a2cba9a05f93dad40d9 (patch)
tree51ca71ed06a731c97a4cbd593c9e195a008bf9b7 /src/tail.c
parent7e0c2b9a59a610454875340e315d93448fffdb38 (diff)
downloadcoreutils-f428e548e52d76a5ed729a2cba9a05f93dad40d9.tar.xz
doc: update tail's documentation to allow for new -F semantics
* src/tail.c (usage): Reword tail -F description, so that it no longer mentions details specific to the non-inotify implementation. Also, join diagnostic strings (while staying under the 509-byte limit) to ease formatting of translations. The latter was prompted by a report from Stéphane Raimbault. * doc/coreutils.texi (tail invocation): Update description here, too.
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tail.c b/src/tail.c
index 28a0e26a9..8195deedf 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -316,14 +316,10 @@ GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.\n\
fputs (_("\
With --follow (-f), tail defaults to following the file descriptor, which\n\
means that even if a tail'ed file is renamed, tail will continue to track\n\
-its end. \
-"), stdout);
- fputs (_("\
-This default behavior is not desirable when you really want to\n\
+its end. This default behavior is not desirable when you really want to\n\
track the actual name of the file, not the file descriptor (e.g., log\n\
rotation). Use --follow=name in that case. That causes tail to track the\n\
-named file by reopening it periodically to see if it has been removed and\n\
-recreated by some other program.\n\
+named file in a way that accommodates renaming, removal and creation.\n\
"), stdout);
emit_ancillary_info ();
}