3 ms·
You can reduce the cognitive overhead by using this pattern: Before: <input.txt sed ... | awk ... After: <input.txt grep bar | sed ... | awk .. Eve
by ithkuil 4y ago
You can reduce the cognitive overhead by using this pattern:
Before:
<input.txt sed ... | awk ...
After:
<input.txt grep bar | sed ... | awk ..
Every new pipeline stage is just "command args |" and you insert it after the end of a previous command, treating the initial input redirect as the end of zeroth command