mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
32985: Add NEWS entry for array zipping operators.
This commit is contained in:
parent
3542ca828a
commit
22be586843
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2014-08-12 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 32985: NEWS: Add NEWS entry for array zipping operators.
|
||||
|
||||
2014-08-12 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Axel Beckert: 32975, 32984: Doc/Zsh/Makefile.in: texi2html.conf
|
||||
|
|
|
|||
5
NEWS
5
NEWS
|
|
@ -78,6 +78,11 @@ second; by default milliseconds are shown, but the number of digits may
|
|||
be indicated from 1 to 6, e.g. "%6.". (Note this is part of the
|
||||
extensions to strftime() formats rather than basic prompt escapes.)
|
||||
|
||||
The operators :^ and :^^ in parameter substitution allow for array
|
||||
zipping in the form ${name:^array}. With the :^ operator, all entries
|
||||
in $name and $array will be output in alternating order. With :^ the
|
||||
longer array is trimmed whereas the :^^ operator repeats the shorter
|
||||
array enough to match the longer array.
|
||||
|
||||
Changes between 4.2 and 5.0.0
|
||||
-----------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue