diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-12 09:56:25 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-12 09:56:25 +0000 |
commit | 6371325fdf6ca71e5f9839d65267f1d7c9a8863d (patch) | |
tree | 02ecb67fe66dfd1acc3f56939b7b01366d2b9e17 /Test | |
parent | 0f4d595902ddf23e89dbe3f5c9373a9a8e26345e (diff) | |
download | zsh-6371325fdf6ca71e5f9839d65267f1d7c9a8863d.tar.gz zsh-6371325fdf6ca71e5f9839d65267f1d7c9a8863d.tar.xz zsh-6371325fdf6ca71e5f9839d65267f1d7c9a8863d.zip |
22689: untokenize strings used in parameter substitution pattern matching
Diffstat (limited to 'Test')
-rw-r--r-- | Test/D04parameter.ztst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 5d48328ed..7c0b28878 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -829,6 +829,10 @@ 0:(#m) flag with pure string >this 4 4 is 7 7 a s 11 11tring + print ${${~:-*}//(#m)*/$MATCH=$MATCH} +0:(#m) flag with tokenized input +>*=* + print -l JAMES${(u)${=:-$(echo yes yes)}}JOYCE print -l JAMES${(u)${=:-$(echo yes yes she said yes i will yes)}}JOYCE 0:Bug with (u) flag reducing arrays to one element |