www.delorie.com/gnu/docs/bc/dc_2.html   search  
Buy GNU books!

dc, an arbitrary precision calculator

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2. Invocation

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

`-e expr'
Evaluate expr as DC commands.

`-f file'
Read and evaluate DC commands from file.

Print a usage message summarizing the command-line options, then exit.

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.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003