aboutsummaryrefslogtreecommitdiff
path: root/manuals/dc/EN.1.md
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-08-03 18:55:39 +0000
committerStefan Eßer <se@FreeBSD.org>2020-08-03 18:55:39 +0000
commita68dea2ff90f2e77fe8c6a9e022aa1ac258106b7 (patch)
tree14083ae0377e0e7df842ba66878bd3f26c9491c7 /manuals/dc/EN.1.md
parentee177a09be9c81bf1c3e00326e1d38e6edb8e2a4 (diff)
downloadsrc-a68dea2ff90f2e77fe8c6a9e022aa1ac258106b7.tar.gz
src-a68dea2ff90f2e77fe8c6a9e022aa1ac258106b7.zip
Notes
Diffstat (limited to 'manuals/dc/EN.1.md')
-rw-r--r--manuals/dc/EN.1.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/manuals/dc/EN.1.md b/manuals/dc/EN.1.md
index 114c4d1916b1..e1826daa4e18 100644
--- a/manuals/dc/EN.1.md
+++ b/manuals/dc/EN.1.md
@@ -101,9 +101,8 @@ The following are the options that dc(1) accepts.
evaluated in the order given. This means that if a file is given before an
expression, the file is read in and evaluated first.
- In other dc(1) implementations, this option causes the program to execute
- the expressions and then exit. This dc(1) does not, unless the
- **DC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section).
+ After processing all expressions and files, dc(1) will exit, unless **-**
+ (**stdin**) was given as an argument at least once to **-f** or **--file**.
This is a **non-portable extension**.
@@ -113,9 +112,10 @@ The following are the options that dc(1) accepts.
through **stdin**. If expressions are also given (see above), the
expressions are evaluated in the order given.
- In other dc(1) implementations, this option causes the program to execute
- the files and then exit. This dc(1) does not, unless the
- **DC_EXPR_EXIT** is defined (see the **ENVIRONMENT VARIABLES** section).
+ After processing all expressions and files, dc(1) will exit, unless **-**
+ (**stdin**) was given as an argument at least once to **-f** or **--file**.
+ However, if any other **-e**, **--expression**, **-f**, or **--file**
+ arguments are given after that, bc(1) will give a fatal error and exit.
This is a **non-portable extension**.