summaryrefslogtreecommitdiffstats
path: root/usr.bin/nl
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2013-11-28 20:44:43 +0000
committerjca <jca@openbsd.org>2013-11-28 20:44:43 +0000
commit22f027eef2cf5d081fc892a6702ebb26649296c3 (patch)
tree0be36dd6c8a37e138765957577575c1a7f16d804 /usr.bin/nl
parentAdd short-circuit code to __wait_seqno() that's also present in Linux. (diff)
downloadwireguard-openbsd-22f027eef2cf5d081fc892a6702ebb26649296c3.tar.xz
wireguard-openbsd-22f027eef2cf5d081fc892a6702ebb26649296c3.zip
Re-add documentation about `-' handling. Discussed a few months ago
with jmc and wiz@netbsd.
Diffstat (limited to 'usr.bin/nl')
-rw-r--r--usr.bin/nl/nl.116
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.bin/nl/nl.1 b/usr.bin/nl/nl.1
index 4430a78149e..ed8b9d995f9 100644
--- a/usr.bin/nl/nl.1
+++ b/usr.bin/nl/nl.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nl.1,v 1.4 2013/09/14 14:55:57 jmc Exp $
+.\" $OpenBSD: nl.1,v 1.5 2013/11/28 20:44:43 jca Exp $
.\" $NetBSD: nl.1,v 1.14 2013/09/09 09:02:25 wiz Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -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 14 2013 $
+.Dd $Mdocdate: November 28 2013 $
.Dt NL 1
.Os
.Sh NAME
@@ -52,12 +52,16 @@
The
.Nm
utility reads lines from the named
-.Ar file
-or the standard input if the
-.Ar file
-argument is omitted,
+.Ar file ,
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