mirror of
https://github.com/uutils/coreutils
synced 2024-12-16 00:02:50 +00:00
a375644c50
Update `dd` to only print a concise form of the number of bytes with an SI prefix (like "1 MB" or "2 GB") if the number is at least 1000. Similarly, only print the concise form with an IEC prefix (like "1 MiB" or "2 GiB") if the number is at least 1024. For example, $ head -c 999 /dev/zero | dd > /dev/null 1+1 records in 1+1 records out 999 bytes copied, 0.0 s, 999.0 KB/s $ head -c 1000 /dev/zero | dd > /dev/null 1+1 records in 1+1 records out 1000 bytes (1000 B) copied, 0.0 s, 1000.0 KB/s $ head -c 1024 /dev/zero | dd > /dev/null 2+0 records in 2+0 records out 1024 bytes (1 KB, 1024 B) copied, 0.0 s, 1.0 MB/s |
||
---|---|---|
.. | ||
bin | ||
uu | ||
uucore | ||
uucore_procs |