summaryrefslogtreecommitdiff
path: root/Doc/help/test
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-05-14 23:32:33 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-05-14 23:32:33 +0200
commit2ae4a3989e1bd06c82d597418a46b25cb14d57ed (patch)
tree9cfc4bf449c34f9493e369910e94773d4cc88366 /Doc/help/test
parent43867f68c0b1279ec096ce5639e6ec3a2df8103f (diff)
parentd4d203488826181aa4eb360ce57de138417ba680 (diff)
downloadzsh-2ae4a3989e1bd06c82d597418a46b25cb14d57ed.tar.gz
zsh-2ae4a3989e1bd06c82d597418a46b25cb14d57ed.zip
Update upstream source from tag 'upstream/5.9'
Update to upstream version '5.9' with Debian dir 9ec0c75153d850f8dda83cca1a9ed3ff6200c14b
Diffstat (limited to 'Doc/help/test')
-rw-r--r--Doc/help/test18
1 files changed, 9 insertions, 9 deletions
diff --git a/Doc/help/test b/Doc/help/test
index 4b8d48e78..9abe33fd4 100644
--- a/Doc/help/test
+++ b/Doc/help/test
@@ -1,20 +1,20 @@
test [ arg ... ]
[ [ arg ... ] ]
- Like the system version of test. Added for compatibility; use
- conditional expressions instead (see the section `Conditional
+ Like the system version of test. Added for compatibility; use
+ conditional expressions instead (see the section `Conditional
Expressions'). The main differences between the conditional ex-
pression syntax and the test and [ builtins are: these commands
- are not handled syntactically, so for example an empty variable
- expansion may cause an argument to be omitted; syntax errors
- cause status 2 to be returned instead of a shell error; and
+ are not handled syntactically, so for example an empty variable
+ expansion may cause an argument to be omitted; syntax errors
+ cause status 2 to be returned instead of a shell error; and
arithmetic operators expect integer arguments rather than arith-
metic expressions.
The command attempts to implement POSIX and its extensions where
these are specified. Unfortunately there are intrinsic ambigui-
- ties in the syntax; in particular there is no distinction be-
- tween test operators and strings that resemble them. The stan-
- dard attempts to resolve these for small numbers of arguments
+ ties in the syntax; in particular there is no distinction be-
+ tween test operators and strings that resemble them. The stan-
+ dard attempts to resolve these for small numbers of arguments
(up to four); for five or more arguments compatibility cannot be
- relied on. Users are urged wherever possible to use the `[['
+ relied on. Users are urged wherever possible to use the `[['
test syntax which does not have these ambiguities.