2 ms·
> apparently 'cat error.log | grep 'ERROR:' | wc -l' is not how real programmers find error count, Perhaps real programmers would 'grep -c 'ERROR:' error.log'.
by CDRdude 7y ago
> apparently 'cat error.log | grep 'ERROR:' | wc -l' is not how real programmers find error count,
Perhaps real programmers would 'grep -c 'ERROR:' error.log'. I’m not sure what kind of overhead the extra pipes use.