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.
This commit is contained in:
parent
53e29ec5b4
commit
66f9c15fcf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97339
@ -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
|
||||
|
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user