Different tools have different ideas about what human-readable output
authorElliott Hughes <enh@google.com>
Sun, 9 Aug 2015 02:10:44 +0000 (21:10 -0500)
committerRob Landley <rob@landley.net>
Sun, 9 Aug 2015 02:10:44 +0000 (21:10 -0500)
commit0fb465194789965b6fb2efd31995a2441144d650
treec55819bbb0f6ea3a575d8adb05ad03e16ca34ae7
parent11d2ff5ffac9382be0d6971b8ac84df21eca85df
Different tools have different ideas about what human-readable output
looks like. dd uses "7 MB" where du uses "7M", for example. this patch
adds flags, similar to the BSD humanize_number. most callers will pass 0.
lib/lib.c
lib/lib.h
toys/pending/dd.c
toys/posix/du.c