3 ms·
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
by simcop2387 15y ago
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?
- mattmight 15y agoRead 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.grymoire.com/Unix/Awk.html http://www.pement.org/awk/awk1line.txt http://www.pement.org/awk/awk1line.txt The man page for awk is pretty good too.
- pkrumins 15y agoSee also Eric Pement's one-liners explained: http://www.catonmat.net/blog/awk-one-liners-explained-part-one/ http://www.catonmat.net/blog/awk-one-liners-explained-part-o...
- high5ths 15y agoI think I learned it by reading this, long ago: http://www.grymoire.com/Unix/Awk.html http://www.grymoire.com/Unix/Awk.html