OS Manuals

/usr/bin/dc

An arbitrary precision numeric processing language (calculator)

From bc 1.08.2-r9 (os), captured 2026-11-05 by running dc --help (exit 0). permalink

Usage: dc [OPTION] [file ...]
  -e, --expression=EXPR    evaluate expression
  -f, --file=FILE          evaluate contents of file
  -i, --interactive        force interactive mode
  --max-recursion=depth    limit recursion depth
  -h, --help               display this help and exit
  -V, --version            output version information and exit

Email bug reports to:  bug-dc@gnu.org .
Options (6)
OptionDescriptionSource
-e, --expression EXPRAdd the commands in script to the set of commands to be run while processing the input.help + man + man
-f, --file FILEAdd the commands contained in the file script-file to the set of commands to be run while processing the input.help + man + man
-i, --interactiveforce interactive modehelp
--max-recursion depthLimit recursion to a depth of at most depth.help + man
-h, --helpPrint a usage message briefly summarizing these command-line options and the bug-reporting address, then exit.help + man + man
-V, --versionPrint out the version of dc that is being run and a copyright notice, then exit.help + man + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.