#! /usr/common/bin/gawk -f # # Usage: ltru2xml.awk registry > registry.xml # Or : ltru2xml.awk /dev/null > registry.dtd # # The File-Date record is noted in a 'date' attribute of the root # element . # # Other records are converted to elements , , #