]> git.ipfire.org Git - thirdparty/coreutils.git/commit
dd: counts ending in "B" now count bytes
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Feb 2022 02:27:09 +0000 (18:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Feb 2022 02:56:53 +0000 (18:56 -0800)
commit97e9778296ead515e77a64942b84f88dcf36a176
treefbf3e4c657198229922c05e8e839b14f13895eb8
parentef694d3448534f13b2f430f03390c681a9e81481
dd: counts ending in "B" now count bytes

This implements my suggestion in Bug#54112.
* src/dd.c (usage): Document the change.
(parse_integer, scanargs): Implement the change.
Omit some now-obsolete checks for invalid flags.
* tests/dd/bytes.sh: Test the new behavior, while retaining
checks for the now-obsolete usage.
* tests/dd/nocache_eof.sh: Avoid now-obsolete usage.
NEWS
doc/coreutils.texi
src/dd.c
tests/dd/bytes.sh
tests/dd/nocache_eof.sh