diff options
| author | Peter Stephenson <pws@zsh.org> | 2016-07-28 09:46:40 +0100 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2016-07-28 09:51:19 +0100 |
| commit | 895e9beb294a9e86c8ead01ff177624848f495ff (patch) | |
| tree | 55f4e2f711c27e3002b2f01ce00079633a8007c4 /README | |
| parent | unposted: Prefix function's name to its error messages. (diff) | |
| download | zsh-895e9beb294a9e86c8ead01ff177624848f495ff.tar zsh-895e9beb294a9e86c8ead01ff177624848f495ff.tar.gz zsh-895e9beb294a9e86c8ead01ff177624848f495ff.tar.bz2 zsh-895e9beb294a9e86c8ead01ff177624848f495ff.tar.lz zsh-895e9beb294a9e86c8ead01ff177624848f495ff.tar.xz zsh-895e9beb294a9e86c8ead01ff177624848f495ff.tar.zst zsh-895e9beb294a9e86c8ead01ff177624848f495ff.zip | |
users/21793: Remove raw integers as glob qualifiers.
There was an ancient undocumented feature that these were treated
as a file mode to "or" with that of the file under test. The
only documented way of doing this has always been the "f" qualifier,
so removed the effect of raw integers to make errors more obvious.
Diffstat (limited to 'README')
| -rw-r--r-- | README | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -79,6 +79,14 @@ Other aspects of EXIT trap handling have not changed --- there is still only one EXIT trap at any point in a programme, so it is not generally useful to combine POSIX and non-POSIX behaviour in the same script. +4) There was an undocumented feature dating from the early days of zsh +that glob qualifiers consisting only of the digits 0 to 7 were treated +as an octal file mode to "and" with the modes of files being tested. +This has been removed in order to be more sensitive to syntax errors. +The "f" qualifier has for many years been the documented way of testing +file modes; it allows the "and" test ("*(f+1)" is the documented +equivalent of "*(1)") as well as many other forms. + Incompatibilities between 5.0.8 and 5.2 --------------------------------------- |
