head: continue processing files even if one has io error#11911
head: continue processing files even if one has io error#11911iburaky2 wants to merge 3 commits intouutils:mainfrom
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
|
GNU testsuite comparison: |
|
I found an another issue #11972 . |
|
We need to properly distinguish between read and write errors to fix the incorrect error messages, wrapping all I tried looking at the ErrorKind and but I'm getting Maybe we should break up Anyway that is a seperate issue than the one this PR addresses |
Currently head exits with an error when it encounters an I/O error, whereas GNU head continues with the rest of the files provided in the arguments. Closes #11846