3 ms·
I'm a bit upset to say that this is one of the few times I've seen AWK code outside of a one liner (some of those one liners are pretty beastly, but still). It
by jjice 5y ago
I'm a bit upset to say that this is one of the few times I've seen AWK code outside of a one liner (some of those one liners are pretty beastly, but still).
It reads pretty well, and now I'm interested in using it a bit more for my scripts. Any good AWK examples/resources anyone can recommend?
- temp0826 5y agoThe AWK book written by the A W K from the program name has always been considered the bible. Edit: misattributed to k&r
- b3morales 5y agoThis one is good; clear explanations of the concepts and various useful examples to crib from: https://www.grymoire.com/Unix/Awk.html https://www.grymoire.com/Unix/Awk.html Their document covering sed is also excellent.