Module Name: src Committed By: wiz Date: Mon Dec 3 07:49:21 UTC 2012
Modified Files: src/usr.bin/stat: stat.1 Log Message: Bump date for previous. Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.bin/stat/stat.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/stat/stat.1 diff -u src/usr.bin/stat/stat.1:1.35 src/usr.bin/stat/stat.1:1.36 --- src/usr.bin/stat/stat.1:1.35 Sun Dec 2 21:13:07 2012 +++ src/usr.bin/stat/stat.1 Mon Dec 3 07:49:21 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: stat.1,v 1.35 2012/12/02 21:13:07 erh Exp $ +.\" $NetBSD: stat.1,v 1.36 2012/12/03 07:49:21 wiz Exp $ .\" .\" Copyright (c) 2002-2011 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 22, 2011 +.Dd December 2, 2012 .Dt STAT 1 .Os .Sh NAME @@ -168,14 +168,14 @@ suitable for initializing variables. When run as .Nm readlink , suppress error messages. -This is equivalent to specifying -.Bd -literal +This is equivalent to specifying +.Bd -literal FMT="st_dev=%d st_ino=%i st_mode=%#p st_nlink=%l st_uid=%u st_gid=%g" FMT="$FMT st_rdev=%r st_size=%z st_atime=%Sa st_mtime=%Sm st_ctime=%Sc" FMT="$FMT st_birthtime=%SB st_blksize=%k st_blocks=%b st_flags=%f" stat -t %s -f "$FMT" . .Ed -Note that if you use a timeformat that contains embedded whitespace or shell +Note that if you use a timeformat that contains embedded whitespace or shell meta-characters you will need to include appropriate quoting so the .Fl s output remains valid.