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

Doug Barton dougb at FreeBSD.org
Sun Dec 5 22:01:01 UTC 2010


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 at 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


More information about the svn-src-all mailing list