3 ms·
This is the first hit for awk tutorial and it's all you need. http://www.grymoire.com/Unix/Awk.html http://www.grymoire.com/Unix/Awk.html
by foobarbazqux 13y ago
This is the first hit for awk tutorial and it's all you need.
http://www.grymoire.com/Unix/Awk.html http://www.grymoire.com/Unix/Awk.html
- McUsr 13y agoI think Steve's Awk academy is a nice supplement to Grymoire : http://www.troubleshooters.com/codecorn/awk/ http://www.troubleshooters.com/codecorn/awk/ By the way: what people need to understand is that in order to use Awk, efficently, you'll either use associative arrays, or structure your script like a sed script, otherwise it will be slow. The interesting thing about both of those, is the regex algorithm Thompson NFA, that is from what I hear around 7 times faster than PCRE that is used in Perl, PHP, Python and Ruby?