Skip to content

dd: piping from stdout gives Broken pipe #10214

Description

@BAMF0

(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)

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions