This weekend’s project was a Java command line tool that reads delimited text files and formats them using a user specified template.
It’s called QuickFormatter because I couldn’t be bothered thinking of a better name.
Basically you run it supplying parameters for input file, the delimiter character (or characters) and the filename of the template that you want to format the output with. Optionally you can also supply an output file (otherwise it goes to standard out) and you can also specify that the output is XML so it can prettify it for you.
Sample templates are included in the download for Docbook XML and Wiki Text tables (of varying complexity) as well as a Docbook XML variable list.
The source and docs are on Github at https://github.com/dmison/QuickFormatter.
A compiled binary can be downloaded from https://github.com/downloads/dmison/QuickFormatter/QuickFormatter.zip.