=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/stat/stat.1,v retrieving revision 1.21 retrieving revision 1.22 diff -c -r1.21 -r1.22 *** src/usr.bin/stat/stat.1 2013/07/16 00:07:52 1.21 --- src/usr.bin/stat/stat.1 2014/11/15 14:41:02 1.22 *************** *** 1,4 **** ! .\" $OpenBSD: stat.1,v 1.21 2013/07/16 00:07:52 schwarze Exp $ .\" $NetBSD: stat.1,v 1.11 2003/05/08 13:07:10 wiz Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. --- 1,4 ---- ! .\" $OpenBSD: stat.1,v 1.22 2014/11/15 14:41:02 bentley Exp $ .\" $NetBSD: stat.1,v 1.11 2003/05/08 13:07:10 wiz Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. *************** *** 28,34 **** .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" ! .Dd $Mdocdate: July 16 2013 $ .Dt STAT 1 .Os .Sh NAME --- 28,34 ---- .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" ! .Dd $Mdocdate: November 15 2014 $ .Dt STAT 1 .Os .Sh NAME *************** *** 124,130 **** display the raw, numerical value (for example, times in seconds since the Epoch, etc.). .It Fl s ! Display information in ``shell output'', suitable for initializing variables. .It Fl t Ar timefmt Display timestamps using the specified format. This format is --- 124,130 ---- display the raw, numerical value (for example, times in seconds since the Epoch, etc.). .It Fl s ! Format the output as a line of shell variable assignments. .It Fl t Ar timefmt Display timestamps using the specified format. This format is *************** *** 158,164 **** .It Cm # Selects an alternate output form for octal and hexadecimal output. Non-zero octal output will have a leading zero, and non-zero ! hexadecimal output will have ``0x'' prepended to it. .It Cm + Asserts that a sign indicating whether a number is positive or negative should always be printed. --- 158,166 ---- .It Cm # Selects an alternate output form for octal and hexadecimal output. Non-zero octal output will have a leading zero, and non-zero ! hexadecimal output will have ! .Sq 0x ! prepended to it. .It Cm + Asserts that a sign indicating whether a number is positive or negative should always be printed. *************** *** 232,238 **** Displays the type of .Ar file . .It Cm Y ! Insert a `` -\*(Gt '' into the output. Note that the default output format for .Cm Y --- 234,242 ---- Displays the type of .Ar file . .It Cm Y ! Insert a ! .Dq "\ ->\ " ! into the output. Note that the default output format for .Cm Y *************** *** 252,275 **** It can be one of the following: .Bl -tag -width Ds .It Cm H ! ``High'' -- specifies the major number for devices from .Cm r or .Cm d , ! the ``user'' bits for permissions from the string form of .Cm p , ! the file ``type'' bits from the numeric forms of .Cm p , and the long output form of .Cm T . .It Cm L ! ``Low'' -- specifies the minor number for devices from .Cm r or .Cm d , ! the ``other'' bits for permissions from the string form of .Cm p , ! the ``user'', ``group'', and ``other'' bits from the numeric forms of .Cm p , and the .Ic ls -F --- 256,279 ---- It can be one of the following: .Bl -tag -width Ds .It Cm H ! High -- specifies the major number for devices from .Cm r or .Cm d , ! the user bits for permissions from the string form of .Cm p , ! the file type bits from the numeric forms of .Cm p , and the long output form of .Cm T . .It Cm L ! Low -- specifies the minor number for devices from .Cm r or .Cm d , ! the other bits for permissions from the string form of .Cm p , ! the user, group, and other bits from the numeric forms of .Cm p , and the .Ic ls -F *************** *** 279,288 **** .Cm L for this is optional). .It Cm M ! ``Middle'' -- specifies the ``group'' bits for permissions from the string output form of .Cm p , ! or the ``suid'', ``sgid'', and ``sticky'' bits for the numeric forms of .Cm p . .El .It Cm datum --- 283,293 ---- .Cm L for this is optional). .It Cm M ! Middle -- specifies the group bits for permissions from the string output form of .Cm p , ! or the ! suid, sgid, and sticky bits for the numeric forms of .Cm p . .El .It Cm datum *************** *** 354,360 **** .It Cm Y The target of a symbolic link. .It Cm Z ! Expands to ``major,minor'' from the rdev field for character or block special devices and gives size output for all others. .El .El --- 359,367 ---- .It Cm Y The target of a symbolic link. .It Cm Z ! Expands to ! .Ar major , Ns Ar minor ! from the rdev field for character or block special devices and gives size output for all others. .El .El *************** *** 383,389 **** .Sh EXIT STATUS .Ex -std stat .Sh EXAMPLES ! Given a symbolic link ``foo'' that points from /tmp/foo to /, you would use .Nm as follows: .Bd -literal -offset indent --- 390,402 ---- .Sh EXIT STATUS .Ex -std stat .Sh EXAMPLES ! Given a symbolic link ! .Pa foo ! that points from ! .Pa /tmp/foo ! to ! .Pa / , ! you would use .Nm as follows: .Bd -literal -offset indent