Skip to content

tr: exit with no error when pipe broken #8294

@ghost

Description

GNU coreutils:

$ tr -dc '[:alnum:]' </dev/urandom | head -c 25
jN1qGXaE0GNVEnIRMPDuBViEd

uutils coreutils:

$ tr -dc '[:alnum:]' </dev/urandom | head -c 25
CRJV9SipwMwDLp6TOvi45mh5Etr: write error: Broken pipe

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