mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2026-01-14 17:21:04 +00:00
Change the behavior of `head` to display an error for each problematic
file, instead of displaying an error message for the first problematic
file and terminating immediately at that point. This change now matches
the behavior of GNU `head`.
Before this commit, the first error caused the program to terminate
immediately:
$ head a b c
head: error: head: cannot open 'a' for reading: No such file or directory
After this commit:
$ head a b c
head: cannot open 'a' for reading: No such file or directory
head: cannot open 'b' for reading: No such file or directory
head: cannot open 'c' for reading: No such file or directory
|
||
|---|---|---|
| .. | ||
| macros.rs | ||
| mod.rs | ||
| util.rs | ||