dpkglist.awk is a command-line tool for querying available packages on ubuntu and debian systems. It overlaps with the standard apt-cache utility, but, written in simple awk, it is easily extensible, and makes it easy to write one-line scripts.
WESP is a collection of subtle scripts and programs written in several languages (C, /bin/sh, (g)awk, ruby, icon) that breaths a new life into the WEB system for literate programming by Donald Knuth (and CWEB by Knuth/Sylvio Levy).