mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
18565: bug when ${(u)...} reduced array to length 1
This commit is contained in:
parent
6d9135befe
commit
c7a2d2225e
3 changed files with 34 additions and 11 deletions
|
@ -589,3 +589,13 @@
|
|||
0:Parameters associated with (#m) flag
|
||||
>MATCH 16 20 MATCH
|
||||
>5
|
||||
|
||||
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
|
||||
>JAMESyesJOYCE
|
||||
>JAMESyes
|
||||
>she
|
||||
>said
|
||||
>i
|
||||
>willJOYCE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue