diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-01 23:49:46 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-01 23:49:46 +0000 |
commit | 0830b1b82aa96651e7194211a8992f976f8c2683 (patch) | |
tree | d8df6e5d5ad1e37187113cc3276fecb1816730fe /doc | |
parent | aa9b173531d2ac06c2f522301f4635fb58fd8934 (diff) | |
download | coreutils-0830b1b82aa96651e7194211a8992f976f8c2683.tar.xz |
(tail invocation): With no operand, 'tail -f' now
silently ignores the '-f' only if standard input is a FIFO or pipe
and POSIXLY_CORRECT is set.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 35134366f..abc226ea7 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -2501,8 +2501,7 @@ by 1048576. @vindex name @r{follow option} @vindex descriptor @r{follow option} Loop forever trying to read more characters at the end of the file, -presumably because the file is growing. This option is ignored if -no @var{file} operand is specified and standard input is a pipe. +presumably because the file is growing. If more than one file is given, @command{tail} prints a header whenever it gets output from a different file, to indicate which file that output is from. @@ -2534,6 +2533,10 @@ growing. The option values @samp{descriptor} and @samp{name} may be specified only with the long form of the option, not with @option{-f}. +@vindex POSIXLY_CORRECT +If @env{POSIXLY_CORRECT} is set, the @option{-f} option is ignored if +no @var{file} operand is specified and standard input is a pipe. + @item -F @opindex -F This option is the same as @option{--follow=name --retry}. That is, tail |