Lines Matching +full:disable +full:- +full:dc

4  * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2018-2024 Gavin D. Howard and contributors.
32 * The dc help text.
38 dc is a reverse-polish notation command-line calculator which supports unlimited
42 This dc is (mostly) compatible with the OpenBSD dc and the GNU dc. See the
43 OpenBSD man page (http://man.openbsd.org/OpenBSD-current/man1/dc.1) and the GNU
44 dc manual (https://www.gnu.org/software/bc/manual/dc-1.05/html_mono/dc.html)
47 This dc has a few differences from the two above:
50 dc does.
51 2) This dc implements the GNU extensions for divmod ("~") and modular
53 3) This dc implements all FreeBSD extensions, except for "J" and "M".
54 4) This dc does not implement the run command ("!"), for security reasons.
55 5) Like the FreeBSD dc, this dc supports extended registers. However, they are
61 [a-z][a-z0-9_]*
69 Also note that, unlike the FreeBSD dc, extended registers are not even
70 parsed unless the "-x" option is given. Instead, the space after a command
75 -C --no-digit-clamp
84 If multiple of this option and the -c option are given, the last is used.
86 -c --digit-clamp
96 If multiple of this option and the -C option are given, the last is used.
99 -E seed --seed=seed
106 -e expr --expression=expr
109 given, they are all run. After running, dc will exit.
111 -f file --file=file
113 Run the dc code in "file" and exit. See above.
115 -h --help
119 -I ibase --ibase=ibase
125 -i --interactive
127 Put dc into interactive mode. See the man page for more details.
129 -L --no-line-length
131 Disable line length checking.
133 -O obase --obase=obase
139 -P --no-prompt
141 Disable the prompts in interactive mode.
143 -R --no-read-prompt
145 Disable the read prompt in interactive mode.
147 -S scale --scale=scale
153 -V --version
157 -x --extended-register
161 -z --leading-zeroes
163 Enable leading zeroes on numbers greater than -1 and less than 1.
169 Command-line arguments to use on every run.
174 wrapping. Using 0 will disable line length checking.
178 If an integer and non-zero, reset on SIGINT, rather than exit, when in
187 If an integer and non-zero, enable TTY mode when it is available.
189 If zero, disable TTY mode in all cases.
195 If an integer and non-zero, enable prompt when TTY mode is possible.
197 If zero, disable prompt in all cases.
203 If an integer and non-zero, exit when expressions or expression files are
204 given on the command-line, and does not exit when an integer and zero.
210 If an integer and non-zero, clamp digits larger than or equal to the