"I don't think there's another simple tool in the unix toolkit that lets you do things like this."
Perl can, since it borrowed a fair amount of awk. It's also almost as commonly already installed. The one liner equivalents to what you showed are pretty similar, for example: https://news.ycombinator.com/item?id=19294575
Though, I concede it falls outside the realm of "simple tool".
Perl can, since it borrowed a fair amount of awk. It's also almost as commonly already installed. The one liner equivalents to what you showed are pretty similar, for example: https://news.ycombinator.com/item?id=19294575
Though, I concede it falls outside the realm of "simple tool".