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.)
GNU
headandtailhave 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: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.)