Skip to content

head: "writes" to /dev/full without error but shouldn't #7029

@jfinkels

Description

@jfinkels

Environment: Ubuntu 20.04, main branch (git commit dddbc17), GNU coreutils v9.5.218-7e5b6

What happens now: uutils head:

$ echo abc | ./target/debug/head > /dev/full

(it terminates with no error message and exit status 0)

What I expected to happen: GNU head:

$ echo abc | head > /dev/full
head: write error: No space left on device

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