=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nl/nl.1,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/nl/nl.1 2013/09/08 20:23:34 1.2 +++ src/usr.bin/nl/nl.1 2013/09/09 19:12:18 1.3 @@ -1,5 +1,5 @@ -.\" $OpenBSD: nl.1,v 1.2 2013/09/08 20:23:34 jmc Exp $ -.\" $NetBSD: nl.1,v 1.13 2013/05/01 20:53:59 christos Exp $ +.\" $OpenBSD: nl.1,v 1.3 2013/09/09 19:12:18 jca Exp $ +.\" $NetBSD: nl.1,v 1.14 2013/09/09 09:02:25 wiz Exp $ .\" .\" Copyright (c) 1999 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 8 2013 $ +.Dd $Mdocdate: September 9 2013 $ .Dt NL 1 .Os .Sh NAME @@ -52,16 +52,12 @@ The .Nm utility reads lines from the named -.Ar file , +.Ar file +or the standard input if the +.Ar file +argument is omitted, applies a configurable line numbering filter operation, and writes the result to the standard output. -If -.Ar file -is a single dash -.Pq Sq \&- -or absent, -.Nm -reads from the standard input. .Pp The .Nm @@ -205,9 +201,12 @@ .Sh STANDARDS The .Nm -utility is compliant with the -.St -p1003.1-2008 -specification. +utility conforms to +.St -xpg4.2 +with the exception of not supporting the intermingling of the +.Ar file +operand with the options, which the standard considers an obsolescent feature +to be removed from a further issue. .Sh HISTORY The .Nm