All Getstats arguments start with a double dash, and a – terminates option processing. All other arguments are files to parse.
Getstats natively implements the following options:
If this option is specified, getstats reads in each individual results file,
then creates a larger relation. To concatenate two (or more) relations they
must have exactly the same columns.
"readpass" is executed before any other transforms on the command line. "warnpass", "ohpass" and "summary" are executed after other transforms.
The following options are executed before any transforms
@TRANSFORMS, or whatever your heart desires (and Perl lets you do).
The following options add a transform
Any other option that is treated as a getstats transformation (e.g., "–foo") calls the Getstats transformation foo after "readpass". If you want to run the transformation before "readpass" specify –shift before the transform (e.g., –shift –select '"\$command" eq "./configure"').
Not all built-in transformations are supported, specifically the control transformations "if", "ifexist", "block", and "group" are not supported (essentially anything that requires another transformation as its argument).
All library functions, and other built-in transformations are supported.
If you use a function that takes many arguments, like describe then you must terminate the arguments with – or another option. If you don't terminate it then Getstats assumes your file names are input to that transform.
Getstats knows the number of arguments for the following transformations, if you define your own, then Getstats assumes it has many arguments.
|Transforms with no arguments|
|Transforms with 1 argument|
|Transforms with 2 arguments|
|Transforms with many arguments|