Commit Graph

16 Commits

Author SHA1 Message Date
grant
7cc8271010 add -g for output in gigabytes. 2003-04-18 13:16:50 +00:00
grant
1c5efa0509 humanize_number() actually prints 'K' as the suffix for 1024 ('k' is
used for 1000).

minor whitespace fix.
2003-04-18 13:09:22 +00:00
wiz
8ac3f34222 Sort options. Bump date for -h addition. Begin new sentences on new lines(!).
The abbreviation for 'kilo' is still a small 'k', not a capital one.
Add -h to the list of options that disable display in default blocksize.
2002-09-27 07:18:16 +00:00
provos
188b812880 human-readable output via -h flag. match output from Linux and other BSDs.
Partly by Benedikt Meurer <bmeurer@fwdn.de>.  approved by perry. closes
pr 14687 and 18402.
2002-09-27 03:33:33 +00:00
wiz
b9119f4a60 Use standard headers. 2001-12-01 19:03:31 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
simonb
79f5a137af Xref getbsize(3). 2001-07-08 15:34:13 +00:00
hubertf
9c8977ca73 Option similar to -k, only to use megabyte (1024**2) as display unit.
Patch contributed by Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk> in PR 11848.
2000-12-30 16:00:33 +00:00
kleink
fd709cbde8 Add an `-r' flag (which is a no-op) to meet XPG4.2 requirements. 1998-02-15 17:08:17 +00:00
lukem
6c98363c96 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-18 13:21:42 +00:00
thorpej
9e0f17d4f7 Implement a -c (Grand Total) option, a'la GNU du(1).
From Luke Mewburn <lukem@telstra.com.au>, PR #2805.
1996-10-18 07:20:31 +00:00
jtc
76450a80cf merge in change accidently made to release branch 1996-01-04 18:25:47 +00:00
glass
c6afbf395d Merged with 4.4lite 1995-03-28 17:50:08 +00:00
mycroft
a78a8ce534 Incorporate new version using getbsize(), with -k flag added. 1993-08-06 17:05:08 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00