mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-17 15:01:40 +02:00
unposted: NEWS: mention {START..END..STEP} enhancement.
This commit is contained in:
parent
25b12c5d11
commit
3a5617a477
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
2010-12-05 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
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,
|
* Mikael: 28474, 28478: Doc/Zsh/expn.yo, Src/glob.c,
|
||||||
Test/D09brace.ztst: extended {START..END..STEP} syntax.
|
Test/D09brace.ztst: extended {START..END..STEP} syntax.
|
||||||
|
|
||||||
|
@ -13896,5 +13898,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5139 $
|
* $Revision: 1.5140 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
4
NEWS
4
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
|
substituted value. The (q-) flag does minimal shell quotation of arguments
|
||||||
for maximum human readability of the result.
|
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
|
The glob qualifier P can be used to add a separate word before each
|
||||||
match. For example, *(P:-f:) produces the command line
|
match. For example, *(P:-f:) produces the command line
|
||||||
`-f file1 -f file2 ...'.
|
`-f file1 -f file2 ...'.
|
||||||
|
|
Loading…
Reference in a new issue