Skip to content

head,tail: implement undocumented option ---presume-input-pipe #2907

@jfinkels

Description

@jfinkels

GNU head and tail have an undocumented option ---presume-input-pipe (notice the three dashes instead of two). I don't know what it does, but here is an example of it:

$ printf "%0.sa\n" {1..100} | head ---presume-input-pipe
a
a
a
a
a
a
a
a
a
a

Lack of support for this option is preventing some of the GNU test suite test cases to fail.

(See similar issue in split here #2864.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions