diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-06-04 09:06:02 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-06-10 05:20:50 +0200 |
| commit | e5e9caa2ee2188444e06ea1e162eb23375ca7538 (patch) | |
| tree | ce0dbc6605b107f93277e56bf51940369372d2f1 /Completion/Unix/Command/_lua | |
| parent | unposted: NEWS: document COLUMNS+LINES change from w/54676 (diff) | |
| download | zsh-e5e9caa2ee2188444e06ea1e162eb23375ca7538.tar zsh-e5e9caa2ee2188444e06ea1e162eb23375ca7538.tar.gz zsh-e5e9caa2ee2188444e06ea1e162eb23375ca7538.tar.bz2 zsh-e5e9caa2ee2188444e06ea1e162eb23375ca7538.tar.lz zsh-e5e9caa2ee2188444e06ea1e162eb23375ca7538.tar.xz zsh-e5e9caa2ee2188444e06ea1e162eb23375ca7538.tar.zst zsh-e5e9caa2ee2188444e06ea1e162eb23375ca7538.zip | |
54674: ::= didn't respect parameter flags
The documentation says
${name::=word}
In the first form, if name is unset then set it to word; in
the second form, if name is unset or null then set it to word;
and in the third form, unconditionally set name to word. In
all forms, the value of the parameter is then substituted.
Particularly that "the value of the parameter is substituted", not "the
word is substituted".
This is what happens before the fix, and similarly for array flags like "unique":
% typeset -E3 fl; hi=5; echo ${fl::=hi}
hi
% echo $fl
5.00e+00
Diffstat (limited to 'Completion/Unix/Command/_lua')
0 files changed, 0 insertions, 0 deletions
