summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-08 08:26:22 +0200
committerJim Meyering <meyering@redhat.com>2009-09-08 13:30:38 +0200
commitf0ff8c73fe8ae505d2029e905b23ac534d11990c (patch)
tree5fc18422e8764f5431adfd72a484a4dd1088fb9f /doc/coreutils.texi
parente8591fd39f70932d40e9a6ddd4e607a89a3162f2 (diff)
downloadcoreutils-f0ff8c73fe8ae505d2029e905b23ac534d11990c.tar.xz
tail: make the new piped-stdin test as portable as the old one
* src/tail.c (main): Adapt piped-stdin test to use the same isapipe, test as was used in the preceding POSIXLY_CORRECT condition. Remove the now-subsumed POSIXLY_CORRECT test. Reported by Pádraig Brady. * doc/coreutils.texi (tail invocation): Document this change. * NEWS (Changes in behavior): Reclassify, clarify.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 86394a152..16ff61395 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -2782,9 +2782,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
+The @option{-f} option is ignored if
no @var{file} operand is specified and standard input is a FIFO or a pipe.
+Likewise, the @option{-f} option has no effect for any
+operand specified as @samp{-}, when standard input is a FIFO or a pipe.
@item -F
@opindex -F