Commit Graph

28 Commits

Author SHA1 Message Date
joerg
a3d484cd9e \\ -> \e 2010-04-05 21:25:01 +00:00
enami
fc5eb1b7ac Since we have st_birthtime in struct stat, it is in default display. 2010-03-11 21:37:01 +00:00
wiz
a6a4761c6a Drop trailing space. 2008-11-07 16:49:45 +00:00
reed
a798b8c1a1 Be consistent: document the birthtime field of struct stat for
the "B" field specifier.
2008-11-07 15:33:31 +00:00
wiz
1f8562f538 Fix three variable names.
From Todd T. Fries via Jason McIntyre.
2008-10-20 08:37:25 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
atatat
e1aff854df Put back the NetBSD tag 2007-11-10 03:12:10 +00:00
wiz
ed200f5855 Document the flags displayed by the default format, and mention their short
names. From espie@openbsd via jmc@openbsd.
2007-11-07 23:01:33 +00:00
wiz
e2d8a15c15 Make sentence easier to parse. From jsing@openbsd via jmc@openbsd. 2007-11-07 22:27:50 +00:00
elad
2a7d09e7cd PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't
grok -f, and there's no alternative (+fix)

Patch applied with minor tweak (%y -> %R, as it was already taken) plus
some nits from myself. Thanks!
2006-10-07 10:41:50 +00:00
wiz
7cb5118cfd Sort SEE ALSO. Drop trailing space. 2005-06-26 10:16:46 +00:00
atatat
277396bd87 Bend the 'L', 'M', and 'H' modifiers to work on the size, whereby it
is rounded to the nearest kilobyte, megabyte, or gigabyte.
Implemented at lukem's request since some things can't deal with
overly large numbers when files are really large.

Have to do something like humanize_number(3), but that interface isn't
really what I'm looking for.  I think.  More examination required.
2005-06-23 03:13:24 +00:00
wiz
3c0fa0f019 Some fixes from jmc@openbsd. 2005-04-04 13:34:40 +00:00
yamt
075d5146c6 correct examples. 2005-01-08 03:46:05 +00:00
atatat
fa01c2e835 Add "dirname"- and "basename"-like functionality to stat(1) by way of
the "high" and "low" selectors on the filename.
2004-12-31 03:24:31 +00:00
wiz
d05a042013 Sort options. Use more mdoc macros. Some nit fixes. Bump date. 2004-09-01 23:26:10 +00:00
yamt
1575138bfb document default format. 2004-09-01 22:18:20 +00:00
wiz
9029b1ef5d Bump date for last. 2003-05-08 13:07:10 +00:00
atatat
ee00aa727c Add %B to print the st_birthtime of an inode (adjusting the "raw"
format and "shell" format appropriately), and rename the st_*timespec
fields in the shell-style output to be st_*time, since that's what
they really are.
2003-05-08 13:05:38 +00:00
atatat
ebe81c7ec3 Fix the sample output in one of the examples 2003-02-21 18:50:10 +00:00
grant
2ceb845887 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 15:59:16 +00:00
grant
be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
atatat
95c295f329 Style sync with FreeBSD. Changes via Doug Barton <DougB@FreeBSD.org>. 2002-08-13 14:05:41 +00:00
atatat
5ccfe86e65 A new command line option, -q, suppresses *stat(2) failure messages.
Output is now done via stdio, instead of with my stupid homegrown
buffering (I don't even know why I did it that way in the first
place).  Also, from Johan Karlsson <johan@freebsd.org>, eliminate a
spurious newline if no output was generated, and link stat(1) to
readlink(1) for similarity to OpenBSD.
2002-07-08 18:48:42 +00:00
atatat
04712927f0 Add a simple format that translates to the current file number, fix an
off by one error, and #define a bunch more things to make it clearer.
2002-05-09 17:52:03 +00:00
wiz
b1017b64f1 Formatting, grammar, spelling, and other improvements. 2002-04-28 17:44:43 +00:00
atatat
c583268d4e That should be "ls -lTd", not "ls -lT" 2002-04-28 17:21:33 +00:00
atatat
ba4e8c9674 Add a stat(1) program to /usr/bin. It provides a simple formatting
interface, with reasonable defaults, to the information provided by
stat(2) so that scripts can use the data therein much more easily.
2002-04-27 16:37:19 +00:00