: Filter for converting a MATHS document into HTML if [ $# -eq 0 ]; then echo Usage: $0 input_files; exit 1; fi # extract contents list and index tmp=/tmp/mth2html$$; index=$tmp.index; contents=$tmp.contents trap "rm $tmp*" 1 2 3 sed -n '/^[ ]*\([A-Za-z0-9_]*\)[ ]*::=[ ]*Net.*$/s//