aboutsummaryrefslogtreecommitdiff
path: root/manuals/dc/E.1.md
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/dc/E.1.md
parent6f49f5cdde1c62c4e5a743e895f3afe592b5c0e5 (diff)
downloadsrc-23aff1240891b4ba4bb000345824ca0b87b9b3e3.tar.gz
src-23aff1240891b4ba4bb000345824ca0b87b9b3e3.zip
Diffstat (limited to 'manuals/dc/E.1.md')
-rw-r--r--manuals/dc/E.1.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/manuals/dc/E.1.md b/manuals/dc/E.1.md
index 6a2c465e5642..a138fdb32158 100644
--- a/manuals/dc/E.1.md
+++ b/manuals/dc/E.1.md
@@ -1025,6 +1025,17 @@ dc(1) recognizes the following environment variables:
override the default, which can be queried with the **-h** or **-\-help**
options.
+**DC_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 dc(1) exit
+ after executing the expressions and expression files, and a non-zero value
+ makes dc(1) not exit.
+
+ This environment variable overrides the default, which can be queried with
+ the **-h** or **-\-help** options.
+
# EXIT STATUS
dc(1) returns the following exit statuses: