summaryrefslogtreecommitdiff
path: root/usr.bin/tail
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-06-03 19:27:32 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-06-03 19:27:32 +0000
commit477d25b0796bf20ee92794a6f804f1b5309ef8c7 (patch)
tree7a492fff0893f0f2e7fb9832bc324e168efcf66b /usr.bin/tail
parent3f31dd14308de1974f4bbe60ce1f2a17c691d0f2 (diff)
Actually, we've handled FIFOs on stdin in accordance with POSIX since 1996.
query and ok jmc@
Diffstat (limited to 'usr.bin/tail')
-rw-r--r--usr.bin/tail/tail.117
1 files changed, 6 insertions, 11 deletions
diff --git a/usr.bin/tail/tail.1 b/usr.bin/tail/tail.1
index de5719b1e3b..470dc4bf9f6 100644
--- a/usr.bin/tail/tail.1
+++ b/usr.bin/tail/tail.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tail.1,v 1.19 2014/05/31 23:08:53 jmc Exp $
+.\" $OpenBSD: tail.1,v 1.20 2014/06/03 19:27:31 guenther Exp $
.\" $NetBSD: tail.1,v 1.4 1994/11/23 07:42:13 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)tail.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: May 31 2014 $
+.Dd $Mdocdate: June 3 2014 $
.Dt TAIL 1
.Os
.Sh NAME
@@ -98,7 +98,9 @@ This makes
more useful for watching log files that may get rotated.
The
.Fl f
-option is ignored if the standard input is a pipe, but not if it is a FIFO.
+option is ignored if there are no
+.Fa file
+arguments and the standard input is a pipe or a FIFO.
.It Fl n Ar number \*(Ba Fl Ns Ar number
The location is
.Ar number
@@ -151,14 +153,7 @@ The
.Nm
utility is compliant with the
.St -p1003.1-2008
-specification,
-except
-.St -p1003.1-2008
-says the
-.Fl f
-option should be ignored if
-.Ar file
-is a FIFO.
+specification.
.Pp
The flags
.Op Fl br