Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Awk happens to be one of those tools that I know I really probably should learn properly for more than doing awk '{print $2}'. Anyone know a good resource for learning awk in and out?


I think I learned it by reading this, long ago: http://www.grymoire.com/Unix/Awk.html


Read the AWK section of the article.

It covers about 90% of AWK, but in condensed form.

For using AWK, try the resources linked at the bottom of the article, like Eric Pement's one-liners and Bruce Barnett's page:

http://www.grymoire.com/Unix/Awk.html

http://www.pement.org/awk/awk1line.txt

The man page for awk is pretty good too.


See also Eric Pement's one-liners explained:

http://www.catonmat.net/blog/awk-one-liners-explained-part-o...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: