dc, an arbitrary precision calculator - 2. Invocation

Go to the first, previous, next, last section, table of contents.

# 2. Invocation

DC may be invoked with the following command-line options:

``-e expr'`
``--expression=expr'`
  Evaluate expr as DC commands.
``-f file'`
``--file=file'`
  Read and evaluate DC commands from file.
``-h'`
``--help'`
  Print a usage message summarizing the command-line options, then exit.
``-V'`
``--version'`
  Print the version information for this program, then exit.

If any command-line parameters remain after processing the options, these parameters are interpreted as additional files whose contents are read and evaluated. A file name of `-` refers to the standard input stream. If no `-e` option was specified, and no files were specified, then the standard input will be read for commands to evaluate.

Go to the first, previous, next, last section, table of contents.