version 1.2, 2013/09/08 20:23:34 |
version 1.3, 2013/09/09 19:12:18 |
|
|
.\" $OpenBSD$ |
.\" $OpenBSD$ |
.\" $NetBSD: nl.1,v 1.13 2013/05/01 20:53:59 christos Exp $ |
.\" $NetBSD: nl.1,v 1.14 2013/09/09 09:02:25 wiz Exp $ |
.\" |
.\" |
.\" Copyright (c) 1999 The NetBSD Foundation, Inc. |
.\" Copyright (c) 1999 The NetBSD Foundation, Inc. |
.\" All rights reserved. |
.\" All rights reserved. |
|
|
The |
The |
.Nm |
.Nm |
utility reads lines from the named |
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, |
applies a configurable line numbering filter operation, |
and writes the result to the standard output. |
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 |
.Pp |
The |
The |
.Nm |
.Nm |
|
|
.Sh STANDARDS |
.Sh STANDARDS |
The |
The |
.Nm |
.Nm |
utility is compliant with the |
utility conforms to |
.St -p1003.1-2008 |
.St -xpg4.2 |
specification. |
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 |
.Sh HISTORY |
The |
The |
.Nm |
.Nm |