summaryrefslogtreecommitdiffstats
path: root/usr.bin/stat
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-12-05 22:01:01 +0000
committerdougb <dougb@FreeBSD.org>2010-12-05 22:01:01 +0000
commitcec2e8182c77939ee3d4ff9ae865a9f36d437c57 (patch)
tree47dc6e26f54d81edad2f9fc646d3eba325389d01 /usr.bin/stat
parent506e81b852532c0c9a46364645396675b03e2c38 (diff)
downloadFreeBSD-src-cec2e8182c77939ee3d4ff9ae865a9f36d437c57.zip
FreeBSD-src-cec2e8182c77939ee3d4ff9ae865a9f36d437c57.tar.gz
Bring in the change from NetBSD 1.12:
"document default format." Obtained from: yamt@NetBSD.org
Diffstat (limited to 'usr.bin/stat')
-rw-r--r--usr.bin/stat/stat.17
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1
index aeff9ba..33e1196 100644
--- a/usr.bin/stat/stat.1
+++ b/usr.bin/stat/stat.1
@@ -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
OpenPOWER on IntegriCloud