diff options
author | Peter Stephenson <pws@zsh.org> | 2016-09-12 14:57:59 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-09-12 14:57:59 +0100 |
commit | 1fc4e6dcac82388e71643330063a02c1d15f9a20 (patch) | |
tree | 9ad83802c36516185a9b03263612cdcbc1e20d91 /Doc/Zsh | |
parent | 26b4508ee339d834a500d940827b31c578d49e3e (diff) | |
download | zsh-1fc4e6dcac82388e71643330063a02c1d15f9a20.tar.gz zsh-1fc4e6dcac82388e71643330063a02c1d15f9a20.tar.xz zsh-1fc4e6dcac82388e71643330063a02c1d15f9a20.zip |
39255: = in conditions is not going anywhere
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/cond.yo | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/cond.yo b/Doc/Zsh/cond.yo index 3d369fb83..474baa1ec 100644 --- a/Doc/Zsh/cond.yo +++ b/Doc/Zsh/cond.yo @@ -103,8 +103,10 @@ true if var(file1) and var(file2) exist and refer to the same file. xitem(var(string) tt(=) var(pattern)) item(var(string) tt(==) var(pattern))( true if var(string) matches var(pattern). -The `tt(==)' form is the preferred one. The `tt(=)' form is for -backward compatibility and should be considered obsolete. +The two forms are exactly equivalent. The `tt(=)' form is +the traditional shell syntax (and hence the only one generally used +with the tt(test) and tt([) builtins); the `tt(==)' form provides +compatibility with other sorts of computer language. ) item(var(string) tt(!=) var(pattern))( true if var(string) does not match var(pattern). |