diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xatonum.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbb/xatonum.c b/libbb/xatonum.c index 19b54fb0c..9dd5c3e7e 100644 --- a/libbb/xatonum.c +++ b/libbb/xatonum.c @@ -83,7 +83,9 @@ const struct suffix_mult cwbkMG_suffixes[] = { { "kB", 1000 }, { "kD", 1000 }, { "k", 1024 }, - { "K", 1024 }, /* compat with coreutils dd (it also accepts KB and KD, TODO?) */ + { "KB", 1000 }, /* compat with coreutils dd */ + { "KD", 1000 }, /* compat with coreutils dd */ + { "K", 1024 }, /* compat with coreutils dd */ { "MB", 1000000 }, { "MD", 1000000 }, { "M", 1024*1024 }, |