1 .TH zpm-stat 8 2019-02-14 "ZPM 0.3"
18 prints information from stat(2) to stdout. This program is needed because the
19 output from stat(1) is not specified by posix and thus can't be portably parsed
20 by shell scripts. Thus zpm-stat provides a consistent interface for zpm
25 Specify an output format. Format strings are printf style strings,
26 where conversions are specified beginning with a % character, and %%
27 is used to output a literal %. %z will output a zero byte. \\n and \\t
28 escape sequences are also recognized. Any other character preceeded
29 by a \\ will be output as is.
31 Available format conversions are:
32 y = mtime, s = file size, a = mode in octal, t = a file type string,
33 u = numeric user id, U = username, g = numeric group id, G = groupname,
37 When outputting mtime, pass the given format to strftime. The default
41 Use lstat instead of stat. That is, don't follow symlinks.
45 print the mtime of /etc/passwd in decimal to stdout.
47 0 on success non zero on failure