We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for fixing this!
One nit: Generally unix tools don't report broken pipe errors since a tool further in the pipeline exiting without consuming all the output is normal.
See:
$ dd if=/dev/random bs=512 count=10 | xxd | head -n 1 10+0 records in 10+0 records out 5120 bytes (5.1 kB, 5.0 KiB) copied, 0.000457 s, 11.2 MB/s 00000000: fb7c 0e2c 7e8c 6cd9 da0f 74aa 86b9 2cf6 .|.,~.l...t...,.
Wheras:
$ dd if=/dev/random bs=512 count=10 | hx | head -n 1 10+0 records in 10+0 records out 5120 bytes (5.1 kB, 5.0 KiB) copied, 0.001642 s, 3.1 MB/s 0x000000: 0x02 0x3b 0x56 0x5d 0xb1 0x9a 0x6e 0xc0 0x3f 0xb0 .;V]..n.?. error: Broken pipe (os error 32)
Originally posted by @pR0Ps in #23 (comment)
The text was updated successfully, but these errors were encountered:
#40 suppress broken pipe reporting, return 0
da9cad2
Merge pull request #41 from sitkevij/enhance/suppress_pipe
4caa73c
No branches or pull requests
Thanks for fixing this!
One nit: Generally unix tools don't report broken pipe errors since a tool further in the pipeline exiting without consuming all the output is normal.
See:
Wheras:
Originally posted by @pR0Ps in #23 (comment)
The text was updated successfully, but these errors were encountered: