Everything except the awk part is something that I use all the time and is easy to type & remember.
To be honest I'd use `choose` if it was available everywhere, but for string manipulation I can't justify using nonstandard tools since they aren't always available.
Every now and then there are some new ones I actually start to use. For example `ripgrep` mostly replaced `grep -R` for me some time ago, a lot of it has to do with the fact that if `rg` is not found I can fallback to normal grep and get the same result, just a bit slower.
I guess my point is that while I do appreciate innovation & making better tooling, the hard part always is getting the tool where it's most needed.
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.