mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +00:00
3a5b31a30f
Adjust the rendering of the concise byte counts in both SI and IEC units to better match the behavior of GNU dd. Before this commit, $ 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 After this commit, $ head -c 1024 /dev/zero | dd > /dev/null 2+0 records in 2+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.0 s, 1.0 MB/s For comparison, GNU dd produces the following: $ head -c 1024 /dev/zero | dd > /dev/null 2+0 records in 2+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.000332864 s, 3.1 MB/s |
||
---|---|---|
.. | ||
benches/factor | ||
by-util | ||
common | ||
fixtures | ||
test_util_name.rs | ||
tests.rs |