]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(tail invocation): With no operand, 'tail -f' now
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Jul 2006 23:49:46 +0000 (23:49 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Jul 2006 23:49:46 +0000 (23:49 +0000)
silently ignores the '-f' only if standard input is a FIFO or pipe
and POSIXLY_CORRECT is set.

doc/coreutils.texi

index 35134366fa357ed0372c121666b969d44b30536e..abc226ea7f63fed62d6437d621667311660c3500 100644 (file)
@@ -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