2.1 Command Line Interface

A description of the command line interface can be obtained by executing nam2mol with no arguments.

prompt> nam2mol

will generate the following output:

nam2mol v1.0  Name to Structure Conversion
OpenEye Scientific Software, June 2003

usage:  nam2mol <namfile> [<outfile>]

The nam2mol program currently accepts no options, and takes one or two filenames of the command line. The first file on the command line is assumed to be compound name file in ASCII text format, and the optional second filename is treated as the output molecule file. A minus character may be used in place of the input filename to specify that the input is to be read from standard input, stdin, and in place of the output filename to specify that the output is to be written to standard output, stdout. If only one filename is specified on the command line, the output is written to stdout by default.