3 ms·
I wrapped awk in a thin shell script, f, so that you can say “f N” to get “awk '{print $N}'” and “f N-M” (where either of the end points are optional) to do wha
by kseistrup 7y ago
I wrapped awk in a thin shell script, f, so that you can say “f N” to get “awk '{print $N}'” and “f N-M” (where either of the end points are optional) to do what cut does, except it operates on all blanks.
Repo has a few other shortcuts, too:
⌘ https://github.com/kseistrup/filters https://github.com/kseistrup/filters