abs
6f08f9dbdd
PR/47167
...
ls.1:
- Sort options in `SYNOPSIS', the option list, and texts within
the man page;
- improve wording;
- improve macro usage;
- use more consistency regarding (locations for) information about
which options override which;
- cross-reference `-d' and `-R';
- simplify description of `-k', removing redundant and unneeded
information;
- sort entry type list (but leave `-a' and `-A' as they are, given
their meaning);
- correct / augment description of `BLOCKSIZE' environment variable
in `ENVIRONMENT' section;
- bump date.
ls.c:
- Sort options in `usage';
- augment comment about when to figure out block size.
2012-11-20 12:37:29 +00:00
wiz
9ed3eb6e68
Use more markup.
2012-10-21 08:18:27 +00:00
jschauma
708ea1dcd8
clarify that BLOCKSIZE also influences the total in long output
2012-10-21 01:39:05 +00:00
mbalmer
95f605c283
Wording fixes from Ryo HAYASAKA, thanks.
2011-04-02 08:38:56 +00:00
wiz
0f3a9d3c9c
Remove trailing whitespace. Add -M to usage.
2011-03-15 08:36:01 +00:00
erh
4aaf499c53
PR#7540, add a -M option to ls which causes sizes (and number of blocks) to be
...
displayed with comma separators (or a locale specific separator).
2011-03-15 03:52:37 +00:00
njoly
9f266c104e
Fix cross-reference, dir(5) -> dirent(3).
2010-12-17 19:20:42 +00:00
joerg
3a7ba0e773
Reorder sections to canonical order. Use .Ex -std
2010-05-14 17:11:52 +00:00
joerg
f95fad15ff
\\ -> \e
2010-04-05 21:16:21 +00:00
lukem
41f5d0fda6
Change '-n' so that it implies '-l' rather than requires '-l'.
...
Brings ls(1) closer to POSIX.1 2004.
Per discussion with Thomas Klausner and Igor Sobrado.
2008-09-25 23:44:05 +00:00
elad
cfbe6aa48d
PR/33635: Anne Bennett: Document 'a' and 'A' flags in ls(1).
...
strmode(3) already documented these, so use the description from there.
2006-09-22 23:00:32 +00:00
christos
eae5877e02
from zafer: you can have either -k or -h but not both since it does not make
...
sense.
2006-08-21 19:08:47 +00:00
wiz
3598f93379
Fix date (no leading zero), fix xref: sticky(7) not (8).
2006-04-08 22:39:39 +00:00
jschauma
b338995776
Address PR 30374 as suggested in there:
...
"Modify the man page to match the behaviour of "ls -q",
(done by yamt@ previously)
...
modify both the behaviour and documentation for "ls -b" and "ls -B" to
make spaces readily apparent. This could be done by adding VIS_WHITE
to the flags passed to strvis(3) in the safe_print() function in
src/bin/ls/util.c."
'ls -b' now yields foo\sbar (whitespace) foo\tbar (tab) foo\rbar (CR).
'ls -B' now yields foo\040bar foo\011bar foo\015bar.
2006-04-08 22:28:06 +00:00
yamt
3dc055fb76
s/non-graphic/non-printable/ to match with the code.
2006-04-08 12:04:22 +00:00
jschauma
ea274fd69c
Rather than '-h' suppressing '-s' when using '-l', make it display
...
the blocks used in human readable form, as suggested by Alan Barrett
and Daniel Carosone.
2005-10-26 02:24:22 +00:00
jschauma
3478ebe108
document that -h makes -l suppress -s.
...
(Ie 'ls -lhs' == 'ls -lh')
2005-10-23 20:52:47 +00:00
wiz
803ccc7cb0
Bump date for previous.
2005-10-10 20:46:17 +00:00
jschauma
98615dcf47
Document that '-g' overrides -1, -C, -m, and -x, but is _always_
...
overridden by '-l', even if '-g' was specified last.
2005-10-10 20:30:34 +00:00
elad
2d28a8933f
Document -L correctly. PR #30430 .
2005-08-13 15:59:28 +00:00
hira
f999ca1abd
Sort options (description).
2005-06-17 14:40:47 +00:00
pooka
2cf84fc283
Clarify the description for -s to include a pointer to an explanation
...
on how BLOCKSIZE affects the parameter.
2005-05-11 09:10:49 +00:00
jschauma
5398861167
The '-l' option *always* prints a total, not only if output is to a
...
terminal.
2005-01-09 16:33:32 +00:00
jschauma
6734ab72b9
Clarify meaning of '-c' flag by using similar wording as for '-u' flag.
2004-08-06 03:17:19 +00:00
wiz
07d5d4dfe3
Crossreference -h and -k. Use Aq instead of \*[Lt]\*[Gt].
2003-12-26 11:19:50 +00:00
grant
f4c4780250
implement -h(umanize).
...
from David P. Reese Jr. in PR bin/23870.
2003-12-26 06:19:19 +00:00
wiz
835710a2a0
Bump date for previous; comma cleanup.
2003-09-22 06:01:43 +00:00
jschauma
21ab633500
After last weeks addition of the '-b' flag, add '-B' and '-w' flags,
...
suggested by uwe@, inspired by FreeBSD. The three flags override
each other (and the '-q' flag) and behave as follows:
-B Force printing of non-printable characters in file names as
\xxx, where xxx is the numeric value of the character in octal.
-b As -B, but use C escape codes whenever possible.
-w Force raw printing of non-printable characters. This is the
default when output is not to a terminal.
2003-09-22 02:43:19 +00:00
wiz
fb2e1913c5
Bump date for previous.
2003-09-14 21:56:25 +00:00
jschauma
2ccef82cc4
Implement '-b' option, which, following FreeBSD, Linux and (I think) Solaris
...
prints octal escapes for nongraphic characters.
2003-09-14 19:16:05 +00:00
wiz
4157dbb127
Sort options (AaBb...).
2003-09-02 08:36:20 +00:00
wiz
9fdd63d776
From FreeBSD bug report 54294, via Jonathan Gray and then jmc@openbsd:
...
-l option to ls(1) gives all permissions, not just owner and group.
2003-08-28 19:44:09 +00:00
agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
grant
75d0e9d0c0
make -g behave as it should according to SUSv3 (long listing without
...
owner).
ok'd by kleink@.
2003-05-07 13:00:24 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant
fbaeb4bd05
some mdoc improvements.
...
ok'd by wiz.
2003-02-10 16:10:22 +00:00
enami
0cb758feb5
Default .Ar arugment is sufficient.
2002-11-09 12:27:53 +00:00
wiz
14dfaa4b03
New policy: New sentences start on a new line.
...
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
kleink
7595143319
Note that -T is to be used with -l; synced with FreeBSD via Michal
...
Pasternak on current-users.
2002-06-24 20:14:35 +00:00
kleink
5f23bdba58
Add missing -p to synopsis; from Ryan Younce in PR misc/16555.
2002-04-29 19:47:01 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
fair
4d71b1538f
Add explanation of directory sizes, and a reference to dir(5),
...
per PR 14291.
2002-02-03 08:00:05 +00:00
wiz
8adaff33d3
Use standard headers.
2001-12-20 20:05:25 +00:00
wiz
3ebcdc5e43
Whitespace nits.
2001-12-20 19:31:48 +00:00
simonb
79f5a137af
Xref getbsize(3).
2001-07-08 15:34:13 +00:00
kleink
2caf6aacdd
For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
...
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf
1cb54f68ac
Add 'RETURN VALUE' section header.
2000-08-28 02:11:04 +00:00
bjh21
d12393eb8e
Add Ev tag to COLUMNS
2000-05-28 21:14:11 +00:00
mjl
5a87b7dd81
Add description of FIFOs in long display (was commented out).
2000-01-05 02:54:55 +00:00
kleink
b424b8fe8c
Add support for the XCU5 -p option (-F restricted to directories).
1999-02-17 15:28:08 +00:00