A perl, python, ruby, tcl, forth, or whatever-your-favorite-pet-language-is script would probably be easier.
_________________________
Bitt Faulk