gemPretty - Read & print gs-files, "cat" for conversion pipelines


SYNOPSIS

gemPretty <options>


DESCRIPTION

By filtering gs-files they become 1.) nicely formatted and 2.) compliant to the latest syntax. 1.) is useful for importing old files or files generated by old filters, 2.) may be nescessary before piping files to gemConvert. gemConvert especially doesn't understand the new features [Island] and <Origin>, which can be worked around by using the options -old or -class .


OPTIONS

-help,-?
Optionenübersicht

-scan <file>
Specify inputfile, can be repeated several times. "-" means standard input, in this case no preprocessing is performed, i.e. no comments, includes and defines are allowed.

-class
Print classes only

-old
use old syntax, assign all objects to WORLD, no matter to which island they belong


BUGS

Comments get lost, so has to be used together with some manual editing



stoffler