15 Programming Your Own Output Filter

VIEWMOL can be easily adapted to write files in any format. All you have to do is to write a new output filter which formats the data provided by VIEWMOL. These output filters are stand-alone programs and can be written in every programming language you want. Examples in awk are included.

The output filter has to accept the following data from its standard input and write them to a file whose name is given as a command line parameter to the filter. VIEWMOL passes the following data groups to the output filter:

$end is passed to the output filter as last line.

Jörg-Rüdiger Hill Fri Oct 31 14:19:21 CET 2003