mharo
84c0b8e756
cleanup using suggestions from bde
2000-01-27 20:55:09 +00:00
mharo
8b7d29db39
Add human-readable output flag, -h
...
Reviewed by: obrien
2000-01-25 17:46:59 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
archie
b24c3efc8e
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
rnordier
a86fff5841
Add missing '\n'; remove redundant 'h' case in getopt switch.
1998-11-05 07:24:21 +00:00
rnordier
67e469b82e
Add -c option to usage string.
...
PR: 8568
Submitted by: Ryan Younce <ryany@pobox.com>
1998-11-05 07:18:41 +00:00
des
a73399dd90
Print correct total for -c option (previously, the total for the last
...
directory scanned was printed instead of the real total)
PR: bin/7896
Submitted by: Zach Heilig <zach@gaffaneys.com>
1998-09-11 15:53:08 +00:00
des
bb930bac45
Don't try to dereference a pointer to freed memory.
...
PR: bin/7393
1998-07-29 17:50:06 +00:00
phk
08f9a08eb7
.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
...
PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
jkh
44b507a037
* add a -c option which displays the grand total of all files
...
counted.
* re-word parts of the man page which I felt were badly worded
or ambiguous.
* change the behaviour of argument processing so that when more
than one of the -P, -H and -L options are specified it will
print an error message, rather than choosing the last option
specified, this behaviour is more logical and consistent with
other utilities.
* change the behaviour of argument processing so that negative
arguments to the -d option are not allowed.
PR: 5388
Submitted by: Niall Smart <rotel@indigo.ie>
1997-12-29 20:56:21 +00:00
wosch
3a492240ff
du(1) always exit with value zero.
...
$ du /foobar
du: /foobar: No such file or directory
$ echo $?
0
1997-08-29 11:40:00 +00:00
charnier
5491fe1a12
Document -k flag.
1997-06-30 06:50:07 +00:00
imp
cd84ece5fd
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
cf1e7e3f26
Merge from Lite2
1997-03-11 13:43:33 +00:00
peter
aef78d145b
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
jkh
9c0cd3f9df
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
scrappy
32d546347f
Add a 'depth (-d#)' flag to du
...
patched (context diff), compiled (w/ -Wall) and tested
Submitted by: John-Mark Gurney <jmg@nike.efn.org>
1996-10-23 06:53:57 +00:00
wosch
d4a1c1cff8
[HISTORY] command appeared in Version 1 AT&T UNIX
...
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
mpp
a9bfedb986
Restore the reference to quot(8).
1995-08-13 09:39:23 +00:00
ats
72fa425163
Submitted by: careilly@tcd.ie Colman Reilly
...
replace the reference of quot(8) with a reference to quota(1).
Colman Reilly noticed the missing quot, GNATS bin/671.
1995-08-12 13:52:26 +00:00
rgrimes
79e59e9123
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
dg
d4c6d24d74
The last commit was bogus...the putenv doesn't affect the parent process,
...
so the BLOCKSIZE doesn't need to be preserved.
1994-08-12 10:19:05 +00:00
dg
41ee6a1b1f
Implemented the -k flag more properly...don't destroy the user's setting
...
of the BLOCKSIZE environment variable.
1994-08-12 07:26:52 +00:00
wollman
9c322d6316
Gimme my `-k' option back!
1994-08-10 19:25:34 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00