Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2020 13:22:09 +0000 (UTC)
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r365297 - stable/12/bin/ls
Message-ID:  <202009031322.083DM90W013121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gbe (doc committer)
Date: Thu Sep  3 13:22:09 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

Modified:
  stable/12/bin/ls/ls.1
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/bin/ls/ls.1
==============================================================================
--- stable/12/bin/ls/ls.1	Thu Sep  3 10:11:12 2020	(r365296)
+++ stable/12/bin/ls/ls.1	Thu Sep  3 13:22:09 2020	(r365297)
@@ -32,7 +32,7 @@
 .\"     @(#)ls.1	8.7 (Berkeley) 7/29/94
 .\" $FreeBSD$
 .\"
-.Dd May 21, 2020
+.Dd August 31, 2020
 .Dt LS 1
 .Os
 .Sh NAME
@@ -89,7 +89,7 @@ where
 .Va xxx
 is the numeric value of the character in octal.
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl C
 Force multi-column output; this is the default when output is to a terminal.
 .It Fl D Ar format
@@ -108,7 +108,7 @@ This option overrides the
 .Fl T
 option.
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl F
 Display a slash
 .Pq Ql /
@@ -141,7 +141,7 @@ in the environment and setting
 This functionality can be compiled out by removing the definition of
 .Ev COLORLS .
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl H
 Symbolic links on the command line are followed.
 This option is assumed if
@@ -155,7 +155,7 @@ Prevent
 .Fl A
 from being automatically set for the super-user.
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl L
 If argument is a symbolic link, list the file or directory the link references
 rather than the link itself.
@@ -184,20 +184,20 @@ The
 .Fl D
 option gives even more control over the output format.
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl U
 Use time when file was created for sorting or printing.
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl W
 Display whiteouts when scanning directories.
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl Z
 Display each file's MAC label; see
 .Xr maclabel 7 .
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl a
 Include directory entries whose names begin with a
 dot
@@ -209,7 +209,7 @@ but use
 .Tn C
 escape codes whenever possible.
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl c
 Use time when file status was last changed for sorting or printing.
 .It Fl -color Ns = Ns Ar when
@@ -292,7 +292,7 @@ and
 .Fl t
 options.
 As allowed by
-.St -p1003.1-2001 ,
+.St -p1003.1-2008 ,
 this option has no effect on the
 .Fl d ,
 .Fl l ,
@@ -308,7 +308,7 @@ where it was used to display the group name in the lon
 .Pq Fl l
 format output.
 This option is incompatible with
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl h
 When used with the
 .Fl l
@@ -316,7 +316,7 @@ option, use unit suffixes: Byte, Kilobyte, Megabyte, G
 and Petabyte in order to reduce the number of digits to four or fewer
 using base 2 for sizes.
 This option is not defined in
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 .It Fl i
 For each file, print the file's file serial number (inode number).
 .It Fl k
@@ -343,7 +343,7 @@ Include the file flags in a long
 .Pq Fl l
 output.
 This option is incompatible with
-.St -p1003.1-2001 .
+.St -p1003.1-2008 .
 See
 .Xr chflags 1
 for a list of file flags and their meanings.
@@ -895,13 +895,14 @@ and
 the
 .Nm
 utility conforms to
-.St -p1003.1-2001 .
+.St -p1003.1-2001
+and
+.St -p1003.1-2008 .
 The options
 .Fl B , D , G , I , T , U , W , Z , b , h , w , y
 and
 .Fl ,
-are compatible extensions not defined in
-.St -p1003.1-2001 .
+are non-standard extensions.
 .Pp
 The ACL support is compatible with
 .Tn IEEE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009031322.083DM90W013121>