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
This commit is contained in:
Gordon Bergling 2020-08-21 06:20:11 +00:00
parent f10baa4049
commit d57d1f5440
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364449

View File

@ -32,7 +32,7 @@
.\" @(#)ls.1 8.7 (Berkeley) 7/29/94 .\" @(#)ls.1 8.7 (Berkeley) 7/29/94
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd May 21, 2020 .Dd August 21, 2020
.Dt LS 1 .Dt LS 1
.Os .Os
.Sh NAME .Sh NAME
@ -89,7 +89,7 @@ where
.Va xxx .Va xxx
is the numeric value of the character in octal. is the numeric value of the character in octal.
This option is not defined in This option is not defined in
.St -p1003.1-2001 . .St -p1003.1-2008 .
.It Fl C .It Fl C
Force multi-column output; this is the default when output is to a terminal. Force multi-column output; this is the default when output is to a terminal.
.It Fl D Ar format .It Fl D Ar format
@ -108,7 +108,7 @@ This option overrides the
.Fl T .Fl T
option. option.
This option is not defined in This option is not defined in
.St -p1003.1-2001 . .St -p1003.1-2008 .
.It Fl F .It Fl F
Display a slash Display a slash
.Pq Ql / .Pq Ql /
@ -141,7 +141,7 @@ in the environment and setting
This functionality can be compiled out by removing the definition of This functionality can be compiled out by removing the definition of
.Ev COLORLS . .Ev COLORLS .
This option is not defined in This option is not defined in
.St -p1003.1-2001 . .St -p1003.1-2008 .
.It Fl H .It Fl H
Symbolic links on the command line are followed. Symbolic links on the command line are followed.
This option is assumed if This option is assumed if
@ -155,7 +155,7 @@ Prevent
.Fl A .Fl A
from being automatically set for the super-user. from being automatically set for the super-user.
This option is not defined in This option is not defined in
.St -p1003.1-2001 . .St -p1003.1-2008 .
.It Fl L .It Fl L
If argument is a symbolic link, list the file or directory the link references If argument is a symbolic link, list the file or directory the link references
rather than the link itself. rather than the link itself.
@ -184,15 +184,15 @@ The
.Fl D .Fl D
option gives even more control over the output format. option gives even more control over the output format.
This option is not defined in This option is not defined in
.St -p1003.1-2001 . .St -p1003.1-2008 .
.It Fl U .It Fl U
Use time when file was created for sorting or printing. Use time when file was created for sorting or printing.
This option is not defined in This option is not defined in
.St -p1003.1-2001 . .St -p1003.1-2008 .
.It Fl W .It Fl W
Display whiteouts when scanning directories. Display whiteouts when scanning directories.
This option is not defined in This option is not defined in
.St -p1003.1-2001 . .St -p1003.1-2008 .
.It Fl Z .It Fl Z
Display each file's MAC label; see Display each file's MAC label; see
.Xr maclabel 7 . .Xr maclabel 7 .
@ -895,13 +895,13 @@ and
the the
.Nm .Nm
utility conforms to utility conforms to
.St -p1003.1-2001 . .St -p1003.1-2008 .
The options The options
.Fl B , D , G , I , T , U , W , Z , b , h , w , y .Fl B , D , G , I , T , U , W , Z , b , h , w , y
and and
.Fl , .Fl ,
are compatible extensions not defined in are compatible extensions not defined in
.St -p1003.1-2001 . .St -p1003.1-2008 .
.Pp .Pp
The ACL support is compatible with The ACL support is compatible with
.Tn IEEE .Tn IEEE