about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2014-08-12 06:22:56 +0200
committerMikael Magnusson <mikachu@gmail.com>2014-08-12 20:20:02 +0200
commit22be5868436f640d0f76bbfc2d8c7ab54c4e3b10 (patch)
treeececf4dbfdd25632f981123c6b530be9896f9db2
parent3542ca828a3963d6bb7f0dc45154391dc89b802d (diff)
downloadzsh-22be5868436f640d0f76bbfc2d8c7ab54c4e3b10.tar.gz
zsh-22be5868436f640d0f76bbfc2d8c7ab54c4e3b10.tar.xz
zsh-22be5868436f640d0f76bbfc2d8c7ab54c4e3b10.zip
32985: Add NEWS entry for array zipping operators.
-rw-r--r--ChangeLog4
-rw-r--r--NEWS5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b955aa47..717ed5f62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/NEWS b/NEWS
index cde1e7c0d..c21149aab 100644
--- a/NEWS
+++ b/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
 -----------------------------