At below link the famous awk one liners by Eric Pement is explained.
http://www.catonmat.net/blog/awk-one-liners-explained-part-one/
http://www.catonmat.net/blog/awk-one-liners-explained-part-one/
UNIX/Linux problem solving blog, Good for beginners and experts. UNIX interview preparation guide. Top Unix interview questions and answers. awk,sed,vi shell,perl solutions of Unix problems.