6 ms·
foo | head -n20 foo may or may not return an error due to the pipe closing, and it's not necessarily consistent each time, particularly if the output of foo is
by aidenn0 6y ago
foo | head -n20
foo may or may not return an error due to the pipe closing, and it's not necessarily consistent each time, particularly if the output of foo is very close to what head will consume.