Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2010 22:01:01 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216209 - head/usr.bin/stat
Message-ID:  <201012052201.oB5M115N009734@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Sun Dec  5 22:01:01 2010
New Revision: 216209
URL: http://svn.freebsd.org/changeset/base/216209

Log:
  Bring in the change from NetBSD 1.12:
  
  "document default format."
  
  Obtained from:	yamt@NetBSD.org

Modified:
  head/usr.bin/stat/stat.1

Modified: head/usr.bin/stat/stat.1
==============================================================================
--- head/usr.bin/stat/stat.1	Sun Dec  5 21:53:29 2010	(r216208)
+++ head/usr.bin/stat/stat.1	Sun Dec  5 22:01:01 2010	(r216209)
@@ -438,6 +438,13 @@ which default to
 .Sh EXIT STATUS
 .Ex -std stat readlink
 .Sh EXAMPLES
+If no options are specified, default format is
+"%d %i %Sp %l %Su %Sg %r %z \\"%Sa\\" \\"%Sm\\" \\"%Sc\\" \\"%SB\\" %k %b %#Xf %N".
+.Bd -literal -offset indent
+\*[Gt] stat /tmp/bar
+0 78852 -rw-r--r-- 1 root wheel 0 0 "Jul  8 10:26:03 2004" "Jul  8 10:26:03 2004" "Jul  8 10:28:13 2004" "Jan  1 09:00:00 1970" 16384 0 0 /tmp/bar
+.Ed
+.Pp
 Given a symbolic link
 .Pa foo
 that points from



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