AWK programming

This is an introduction to AWK that focuses on showing you the most useful features of AWK. Hopefully, the HTML format will be much more enlightening to you than your average man-page.

If you'd like more information on any particular section, or even a whole new section of something, just ask!

Examples

As I come across useful teaching examples, I will try to put them here. The indent/formatting one is not a truely robust program, but it does the basic job pretty durn well.

  1. Trivial script to un-wrap an ldif file
  2. A indent formatting program for .sh scripts
You can also look at The USENET AWK FAQ, for gorey details, and answers about the history and distribution of AWK.


Author: phil@bolthole.com
Part of bolthole.com... Solaris tips ... ksh tutorial ... OO Programming tutorial