Return to lecture notes index
September 8, 2005 (Assignment #2)

Shell Scripting w/Awk (and maybe Sed)
Due September 13, 2005 (Next class)

The Assignment

Use Awk to format a structured document for presentation on the Web. In other words, use AWK to convert the document into HTML in a way that provides for a good Web-based presentation. Use color, style, typeface, tables, &c, as appropriate.

This type of task is an excellent one for awl. Your solution should be an awk script, or a shell script making significant use of awk. Depending on your approach to the problem, sed might also be useful.

You can select the structure document of your choice -- just submit an example with your handin. If nothing is calling you -- try a gradebook from a spreadsheet: names down the left column, assignment names across the top row, grades in the middle -- maybe averages down the right column. You get the idea.

We're Here To Help!

As always -- remember, we're here to help!