summaryrefslogtreecommitdiff
path: root/tests/dd/skip-seek2.sh
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-12-31 14:09:05 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-12-31 14:09:36 -0800
commit2dab6cd3c2e18eb574b24e54fba86a33c80b6a27 (patch)
treeaf6569ae6178b4a9464f2afd3d36047238738c73 /tests/dd/skip-seek2.sh
parent8f9bf300174afa9b29027542ec59892f610c08e4 (diff)
downloadcoreutils-2dab6cd3c2e18eb574b24e54fba86a33c80b6a27.tar.xz
dd: append spaces to shorter status=progress line
Problem noted by Pádraig Brady in: http://bugs.gnu.org/22277#8 Also, make the output a bit more precise while we're at it. * NEWS: Document this. * src/dd.c (previous_time): Remove, replacing with ... (next_time): New var. All uses changed. This avoids some rounding errors, and should be a bit faster. (newline_pending): Remove, replacing with ... (progress_len): New var. All uses changed. This lets us keep track of how many trailing spaces to append. (print_xfer_stats): Get the time first thing, so that it's closer to being correct. Count the bytes output, and append trailing spaces if needed. Add remarks to translators about translation lengths.
Diffstat (limited to 'tests/dd/skip-seek2.sh')
0 files changed, 0 insertions, 0 deletions