Re:What I learned from others' shell scripts
by jzwinck on Friday August 16, 2013 @07:52AM
(#6223387)
My original phrasing may have been unclear; with the elision you made the thrust becomes quite different. I intended to convey two thoughts: that Useless Use of Cat and other filters is pervasive because it is so easy, and secondly, that spawning tons of unnecessary processes is a common performance waste. The specific example with just three processes (cat, grep, awk) is not such a big deal--the bad cases are when stuff like that happens within loops (but the performance loss is not due to the loops, but rather the spawning).
[ Parent
| on HN ]
There are no comments on this comment yet.