summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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