3 ms·
Ugh the SIGPIPE behavior is rather unfortunate, but I don’t think partial consumption behavior is too common in most scripts. I usually run something that consu
by klysm 6y ago
Ugh the SIGPIPE behavior is rather unfortunate, but I don’t think partial consumption behavior is too common in most scripts. I usually run something that consumes a limited number of lines manually to test quickly when the entire input is large. Of course there are definitely cases where you’d want to do this in a script and it’s a good idea to be careful of.