(Forwarded from Launchpad Bug #2125943)
Piping dd's output to some commands gives IO error: Broken pipe.
Reproduce
Run dd with any input file (here /dev/random count=256) and pipe the output to another command (here cmp /tmp/a):
# GNU
$ gnudd if=/dev/random count=256 | cmp /tmp/a
/tmp/a - differ: byte 1, line 1
# uutils
$ dd dev/randow count=256 | cmp /tmp/a
/tmp/a - differ: byte 1, line 1
dd: IO error: Broken pipe
System
- OS release: Ubuntu 25.10
- uutils coreutils version:
0.5.0 (built from main commit: 1d6bd99)
(Forwarded from Launchpad Bug #2125943)
Piping
dd's output to some commands givesIO error: Broken pipe.Reproduce
Run
ddwith any input file (here/dev/random count=256) and pipe the output to another command (herecmp /tmp/a):System
0.5.0(built from main commit: 1d6bd99)