5 ms·
It's been a while since I've touched awk, but I've certainly got a lot of use from it when ripping data out of logfiles and using it elsewhere on the command-li
by redcap 16y ago
It's been a while since I've touched awk, but I've certainly got a lot of use from it when ripping data out of logfiles and using it elsewhere on the command-line.
I can recommend this text file of awk one-liners:
http://www.pement.org/awk/awk1line.txt http://www.pement.org/awk/awk1line.txt
And for completeness, here's one for sed:
http://sed.sourceforge.net/sed1line.txt http://sed.sourceforge.net/sed1line.txt