see Synopsis Fix: Change text With the exception of options -I, -g, -n and -o, the ls utility conforms to IEEE Std 1003.1-2001 (``POSIX.1''). To With the exception of options -A, -I, -g, -n and -o, the ls utility conforms to IEEE Std 1003.1-2001 (``POSIX.1''). How-To-Repeat: N/A
-n and -A are in POSIX.1-2008. Maybe this change would be more reasonable? %%% Index: bin/ls/ls.1 =================================================================== --- bin/ls/ls.1 (revision 203983) +++ bin/ls/ls.1 (working copy) @@ -688,13 +688,13 @@ specification. .Xr sticky 8 .Sh STANDARDS With the exception of options -.Fl I , g , n +.Fl I , g and .Fl o , the .Nm utility conforms to -.St -p1003.1-2001 . +.St -p1003.1-2008 . .Pp The ACL support is compatible with .Tn IEEE %%% -- Jaakko
In the fact, I prefer conformance declarations with extensions like the one used in pax or expr manual pages against declaration with exception used in ls page. Eg. something like: The ls utility is a superset of the IEEE Std 1003.1-2001 (``POSIX.1''). The options -n and -A conforms to the IEEE Std 1003.1-2008. The options -I, -g, -o are FreeBSD's extension. But it's up to comitter. Dan
Responsible Changed From-To: freebsd-doc->arundel Dan Lukes's proposal in his latest reply to this PR looks very reasonable. I'll try to come up with a patch to integrate it into the ls(1) manual.
Responsible Changed From-To: arundel->eadler I'll take it.
Responsible Changed From-To: eadler->freebsd-bugs I don't have time to deal with this now.
I created a differential for further tracking.
A commit references this bug: Author: gbe Date: Fri Aug 21 06:20:12 UTC 2020 New revision: 364449 URL: https://svnweb.freebsd.org/changeset/base/364449 Log: ls(1): Update POSIX conformance from 2001 to 2008 - Update the options that are non-existing in POSIX from 2001 to 2008 - Update POSIX conformance in the STANDARDS section from 2001 to 2008 Verified by checking [1]. [1] https://pubs.opengroup.org/onlinepubs/9699919799.2016edition/toc.htm PR: 140435 Submitted by: Dan Lukes <dan at obluda dot cz> Reviewed by: bcr Approved by: bcr MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26096 Changes: head/bin/ls/ls.1
A commit references this bug: Author: gbe Date: Thu Sep 3 13:22:09 UTC 2020 New revision: 365297 URL: https://svnweb.freebsd.org/changeset/base/365297 Log: MFC r364449, r365004: ls(1): Update POSIX conformance - Update the POSIX references for non-standard ls(1) options - Simplify the STANDARDS section by mention both supported POSIX versions Verified by checking [1]. [1] https://pubs.opengroup.org/onlinepubs/9699919799.2016edition/toc.htm PR: 140435 (based on) Submitted by: Dan Lukes <dan at obluda dot cz> Reviewed by: hrs, bcr Approved by: hrs, bcr Differential Revision: https://reviews.freebsd.org/D26210 Changes: _U stable/12/ stable/12/bin/ls/ls.1