summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2013-09-09 19:12:18 +0000
committerjca <jca@openbsd.org>2013-09-09 19:12:18 +0000
commit9f1f5c5545dcfd90a0c71407fda776280fad038a (patch)
treec0f0b7eb919b90e3f44399a071f4187e5c887214
parentAdd support for ECDHE (Elliptic curve Diffie-Hellman) to enable (diff)
downloadwireguard-openbsd-9f1f5c5545dcfd90a0c71407fda776280fad038a.tar.xz
wireguard-openbsd-9f1f5c5545dcfd90a0c71407fda776280fad038a.zip
nl(1) is actually marked as an XSI (XPG 4.2) extension.
Remove the remaining differences with NetBSD nl.1 regarding STANDARDS and `-' handling. Discussed with jmc@
-rw-r--r--usr.bin/nl/nl.127
1 files changed, 13 insertions, 14 deletions
diff --git a/usr.bin/nl/nl.1 b/usr.bin/nl/nl.1
index 7213c33e156..c15b9558818 100644
--- a/usr.bin/nl/nl.1
+++ b/usr.bin/nl/nl.1
@@ -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 @@ is 6.
.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