aboutsummaryrefslogtreecommitdiff
path: root/manuals/bc/EN.1
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2021-11-30 17:26:22 +0000
committerStefan Eßer <se@FreeBSD.org>2021-11-30 17:26:22 +0000
commit23aff1240891b4ba4bb000345824ca0b87b9b3e3 (patch)
tree31dbbc9a32d24856e9514e788e8b31b7e965a2bf /manuals/bc/EN.1
parent6f49f5cdde1c62c4e5a743e895f3afe592b5c0e5 (diff)
downloadsrc-23aff1240891b4ba4bb000345824ca0b87b9b3e3.tar.gz
src-23aff1240891b4ba4bb000345824ca0b87b9b3e3.zip
vendor/bc: import release 5.2.0vendor/bc/5.2.0
This version is imported only for documentary purposes since it does not contain any changes that are relevant for the FreeBSD base system.
Diffstat (limited to 'manuals/bc/EN.1')
-rw-r--r--manuals/bc/EN.113
1 files changed, 13 insertions, 0 deletions
diff --git a/manuals/bc/EN.1 b/manuals/bc/EN.1
index 192dccfea2fc..c4704807fac6 100644
--- a/manuals/bc/EN.1
+++ b/manuals/bc/EN.1
@@ -1400,6 +1400,19 @@ This environment variable and the \f[B]BC_TTY_MODE\f[R] environment
variable override the default, which can be queried with the
\f[B]-h\f[R] or \f[B]--help\f[R] options.
.RE
+.TP
+\f[B]BC_EXPR_EXIT\f[R]
+If any expressions or expression files are given on the command-line
+with \f[B]-e\f[R], \f[B]--expression\f[R], \f[B]-f\f[R], or
+\f[B]--file\f[R], then if this environment variable exists and contains
+an integer, a non-zero value makes bc(1) exit after executing the
+expressions and expression files, and a non-zero value makes bc(1) not
+exit.
+.RS
+.PP
+This environment variable overrides the default, which can be queried
+with the \f[B]-h\f[R] or \f[B]--help\f[R] options.
+.RE
.SH EXIT STATUS
.PP
bc(1) returns the following exit statuses: