summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-12-05 21:13:10 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-12-05 21:13:10 +0000
commit3a5617a4770cb4e28a2ea69615f8a2a7f35b766f (patch)
treeabb9942f27e2cdb4662ce74e3b2f5c27feab7575
parent25b12c5d1139de9b7527a1fa2b722fe19c46f462 (diff)
downloadzsh-3a5617a4770cb4e28a2ea69615f8a2a7f35b766f.tar.gz
zsh-3a5617a4770cb4e28a2ea69615f8a2a7f35b766f.zip
unposted: NEWS: mention {START..END..STEP} enhancement.
-rw-r--r--ChangeLog4
-rw-r--r--NEWS4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 212ac68f0..0ed531513 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2010-12-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * unposted: NEWS: mention {START..END..STEP} changes.
+
* Mikael: 28474, 28478: Doc/Zsh/expn.yo, Src/glob.c,
Test/D09brace.ztst: extended {START..END..STEP} syntax.
@@ -13896,5 +13898,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5139 $
+* $Revision: 1.5140 $
*****************************************************
diff --git a/NEWS b/NEWS
index 5f76b5ab2..a20cc5263 100644
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,10 @@ The (D) flag in parameter expansion abbreviates directories in the
substituted value. The (q-) flag does minimal shell quotation of arguments
for maximum human readability of the result.
+Numeric expansion with braces has been extended so that a step may be
+given, as in {3..9..2}. The step may be negative as may the start and
+end of the range (this is also new).
+
The glob qualifier P can be used to add a separate word before each
match. For example, *(P:-f:) produces the command line
`-f file1 -f file2 ...'.