From: Pádraig Brady Date: Thu, 18 Jun 2015 08:48:04 +0000 (+0100) Subject: doc: use correct units in df | numfmt example X-Git-Tag: v8.24~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5863426dcfec2336cf0e1a28255e9080889fcb4c;p=thirdparty%2Fcoreutils.git doc: use correct units in df | numfmt example * src/numfmt.c (usage): Don't scale output from df so that numfmt outputs the correct values. --- diff --git a/src/numfmt.c b/src/numfmt.c index 58520c26e3..c03329f041 100644 --- a/src/numfmt.c +++ b/src/numfmt.c @@ -960,8 +960,8 @@ Examples:\n\ -> \"1000\"\n\ $ echo 1K | %s --from=iec\n\ -> \"1024\"\n\ - $ df | %s --header --field 2 --to=si\n\ - $ ls -l | %s --header --field 5 --to=iec\n\ + $ df -B1 | %s --header --field 2 --to=si\n\ + $ ls -l | %s --header --field 5 --to=iec\n\ $ ls -lh | %s --header --field 5 --from=iec --padding=10\n\ $ ls -lh | %s --header --field 5 --from=iec --format %%10f\n"), program_name, program_name, program_name,