#!/usr/bin/awk -f # # Take a list of programs and episodes and turn them # into a nice HTML list of programs and episodes. # # Brent Chivers 2005 March 19 BEGIN { FS = " " } $1 != prev { if ( NR > 1 ) { printf "" } printf "%s\n" }