Awk as tool and scripting language

Slashdot it! Delicious Share on Facebook Tweet! Digg!


Awk can address many everyday user or administrator tasks quickly and effortlessly, and it is easier to learn than many other programming languages. This article covers the basics and provides a few more complex examples. You can find support and countless other examples in news groups and on many websites.

The free documentation [2] makes learning Awk easy and includes many more examples. The book by the three Awk inventors – Alfred Aho, Peter Weinberger, and Brian Kernighan [6] – is recommended for more advanced users.l


  1. Code examples from this article:
  2. Robbins, Arnold. The GNU Awk User's Guide 2003:
  3. "Regular Expressions" by Martin Streicher, Linux Shell Handbook 5 :
  4. Friedl, Jeffrey. Mastering Regular Expressions , O'Reilly, 2006.
  5. Bentley, Jon. Programming Pearls , Addison-Wesley, 2000.
  6. Aho, Kernighan, and Weinberger. The AWK Programming Language , Addison-Wesley, 1988.

Buy this article as PDF

Express-Checkout as PDF

Pages: 5

Price $0.99
(incl. VAT)

Buy Ubuntu User

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content