|
|
|
|
|
by masklinn
2201 days ago
|
|
> Because 99% of awk IRL use is just a as fancier cut. You say "fancier", I say "working": since cut can't work on general whitespace without a pre-processing phase (e.g. tr), it simply doesn't work for the vast majority of the things I try to shove into it, and I pretty much always end up using awk instead. Choose means my awk use will fall down by 99% or so. |
|
In fact, anybody promoting cut, please give me the cut version of:
It should work on an arbitrary number of spaces, and fields.The oneliner is going to be... interesting.
Now you can do it with awk using:
But it's neither easy to type, nor to remember.Choose is what cut should have been.