Commit Graph

18 Commits

Author SHA1 Message Date
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
lukem c2b84904ae use %ll_ instead of the less standard %q_ 2001-01-04 23:05:54 +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
simonb 0b559da2d6 Include -r flag in usage message. 2000-04-02 12:46:04 +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
mrg 66f7b9fd72 fix compile warnings on the alpha. 1997-10-19 14:05:56 +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
perry f04c0f5743 Sync with 4.4BSD-Lite2 1995-09-28 06:19:55 +00:00
glass c6afbf395d Merged with 4.4lite 1995-03-28 17:50:08 +00:00
cgd 0337c53156 fix usage, and printing of size/name for files 1994-03-30 03:08:45 +00:00
cgd fa206f9eb6 get rid of local err(); convert to err() and warn() as appropriate 1994-01-27 20:32:37 +00:00
cgd 6ea371cbd3 new definition of getbsize 1994-01-25 20:25:08 +00:00
jtc 2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
mycroft a78a8ce534 Incorporate new version using getbsize(), with -k flag added. 1993-08-06 17:05:08 +00:00
deraadt ab8f70aa6d because of fts library update 1993-08-06 01:36:45 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00