svn commit: r234577 - head/usr.bin/stat

Christian Brueffer brueffer at FreeBSD.org
Thu Jun 21 08:45:58 UTC 2012


On 4/22/12 20:45 , Steve Kargl wrote:
> On Sun, Apr 22, 2012 at 06:18:49PM +0000, Christian Brueffer wrote:
>> Author: brueffer
>> Date: Sun Apr 22 18:18:49 2012
>> New Revision: 234577
>> URL: http://svn.freebsd.org/changeset/base/234577
>>
>> Log:
>>    Remove duplicate -l description.
>>
>>    Submitted by:	Rainer Hurling <rhurlin at gwdg.de>
>>    MFC after:	1 week
>
> The patch should have also fixed the misordering
> of the -n, -qi, and -x options.
>

Hi Steve,

sorry for the late reply.  Could you say more specifically how you
would arrange the order?  From a small sampling of our manpages, it
seems we don't have "one true" style of ordering options (except from
alphabetically, see attached patch).

Some manpages order A-Z, then a-z, while others (Apple and OpenBSD seem 
to do this) order AaBb...Zz.

Cheers,

Chris



-------------- next part --------------
Index: stat.1
===================================================================
--- stat.1	(revision 237294)
+++ stat.1	(working copy)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 22, 2012
+.Dd June 21, 2012
 .Dt STAT 1
 .Os
 .Sh NAME
@@ -140,6 +140,15 @@
 fall back on
 .Xr lstat 2
 and report information about the link.
+.It Fl f Ar format
+Display information using the specified format.
+See the
+.Sx Formats
+section for a description of valid formats.
+.It Fl l
+Display output in
+.Nm ls Fl lT
+format.
 .It Fl n
 Do not force a newline to appear at the end of each piece of output.
 .It Fl q
@@ -151,15 +160,6 @@
 When run as
 .Nm readlink ,
 error messages are automatically suppressed.
-.It Fl f Ar format
-Display information using the specified format.
-See the
-.Sx Formats
-section for a description of valid formats.
-.It Fl l
-Display output in
-.Nm ls Fl lT
-format.
 .It Fl r
 Display raw information.
 That is, for all the fields in the
@@ -172,15 +172,15 @@
 .Dq shell output
 format,
 suitable for initializing variables.
-.It Fl x
-Display information in a more verbose way as known from some
-.Tn Linux
-distributions.
 .It Fl t Ar timefmt
 Display timestamps using the specified format.
 This format is
 passed directly to
 .Xr strftime 3 .
+.It Fl x
+Display information in a more verbose way as known from some
+.Tn Linux
+distributions.
 .El
 .Ss Formats
 Format strings are similar to


More information about the svn-src-all mailing list