diff options
author | tjr <tjr@FreeBSD.org> | 2002-05-27 06:53:54 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-05-27 06:53:54 +0000 |
commit | 857b1f2ee6792a10fb293e7c3d50ad4f06c9f69e (patch) | |
tree | 74b0d34b63e221518e4d9dd2ab56fad52853f77a /usr.bin/nl | |
parent | b50c5edd062b3af3f4fe0e96852e231ff8ba77bf (diff) | |
download | FreeBSD-src-857b1f2ee6792a10fb293e7c3d50ad4f06c9f69e.zip FreeBSD-src-857b1f2ee6792a10fb293e7c3d50ad4f06c9f69e.tar.gz |
The XCU issue 5 requirement of accepting the file operand intermingled
with options has been withdrawn in issue 6, to which nl(1) now conforms.
Diffstat (limited to 'usr.bin/nl')
-rw-r--r-- | usr.bin/nl/nl.1 | 6 | ||||
-rw-r--r-- | usr.bin/nl/nl.c | 7 |
2 files changed, 1 insertions, 12 deletions
diff --git a/usr.bin/nl/nl.1 b/usr.bin/nl/nl.1 index 8668a78..c67c12e 100644 --- a/usr.bin/nl/nl.1 +++ b/usr.bin/nl/nl.1 @@ -229,11 +229,7 @@ is 6. The .Nm 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. +.St -p1003.1-2001 . .Sh HISTORY The .Nm diff --git a/usr.bin/nl/nl.c b/usr.bin/nl/nl.c index 2acc659..5fcfb2a 100644 --- a/usr.bin/nl/nl.c +++ b/usr.bin/nl/nl.c @@ -150,13 +150,6 @@ main(argc, argv) (void)setlocale(LC_ALL, ""); - /* - * Note: this implementation strictly conforms to the XBD Utility - * Syntax Guidelines and does not permit the optional `file' operand - * to be intermingled with the options, which is defined in the - * XCU specification (Issue 5) but declared an obsolescent feature that - * will be removed from a future issue. It shouldn't matter, though. - */ while ((c = getopt(argc, argv, "pb:d:f:h:i:l:n:s:v:w:")) != -1) { switch (c) { case 'p': |