3 ms·
more commands are a side effect of more capability. If you get a sense of things you can do with (|, & , >) and a dozen or so commands like sort | uniq | cut
by gofreddygo 4y ago
more commands are a side effect of more capability.
If you get a sense of things you can do with (|, & , >) and a dozen or so commands like
sort | uniq | cut | paste | join | head | tail | sed | awk | wc | tr | fmt | col | nl | pr | find | grep | tar | export
The value you get in return is intense for the effort invested.
Plus, in the 10 years i've been maintaining code, bash scripts are the minority that still work as they used to with almost no change needed.
That single handedly is worth my money.
- foobarian 4y agoThese days I would include jq in that list as well, near the front in fact
- deathanatos 4y agoAnd xsv, if you're doing anything with CSV. A lot of cut invocations I see are on CSV files, and are all bugs out of the gate. (But use JSON, if you can. It's a step up, and easier to work with, particularly with jq.)