next up previous
Next: General Command Syntax Up: Namelist Command Dictionary Previous: Namelist Command Dictionary

Commandline Syntax

The commandline syntax for elegant is of the form

elegant {inputfile|-pipe=in} [-rpnDefns=filename] -macro=tag1=value1[,tag2=value2...]
inputfile is the name of the command input file, which is a series of namelist commands directing the calculations. Alternatively, one may give the -pipe=in option, allowing elegant to be fed a stream of commands by another program or script. The -rpnDefns option allows providing the name of the RPN definitions file as an alternative to defining the RPN_DEFNS environment variable. The -macro option allows performing text substitutions in the command stream. Multiple -macro options may be given. Usage is described in more detail below.

Robert Soliday 2014-03-21