aboutsummaryrefslogtreecommitdiff
path: root/contrib/bc/manuals/bc/HN.1.md
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bc/manuals/bc/HN.1.md')
-rw-r--r--contrib/bc/manuals/bc/HN.1.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/bc/manuals/bc/HN.1.md b/contrib/bc/manuals/bc/HN.1.md
index d5b3324514ad..12ed1c9c5e74 100644
--- a/contrib/bc/manuals/bc/HN.1.md
+++ b/contrib/bc/manuals/bc/HN.1.md
@@ -2129,6 +2129,17 @@ bc(1) recognizes the following environment variables:
override the default, which can be queried with the **-h** or **-\-help**
options.
+**BC_EXPR_EXIT**
+
+: If any expressions or expression files are given on the command-line with
+ **-e**, **-\-expression**, **-f**, or **-\-file**, 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.
+
+ This environment variable overrides the default, which can be queried with
+ the **-h** or **-\-help** options.
+
# EXIT STATUS
bc(1) returns the following exit statuses: