diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 4 |
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 ...'. |