mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-13 19:16:15 +02:00
30444: add NEWS entry for 30431
This commit is contained in:
parent
92c8a8fa2a
commit
3e05817b77
|
@ -5,6 +5,8 @@
|
|||
|
||||
* 30430: Doc/intro.ms: Fix some errors and outdatedness.
|
||||
|
||||
* 30444: NEWS: Add entry for new syntax added in 30431 below.
|
||||
|
||||
2012-04-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* unposted: Src/subst.c: add test for valid identifier to 30431.
|
||||
|
@ -16244,5 +16246,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5641 $
|
||||
* $Revision: 1.5642 $
|
||||
*****************************************************
|
||||
|
|
6
NEWS
6
NEWS
|
@ -87,6 +87,12 @@ Expansion (parameters, globbing, etc.) and redirection
|
|||
as a string, never a pattern, e.g. ${array[(ie)*]} looks for the
|
||||
index of the array element containing the literal string "*".
|
||||
|
||||
- The operators :| and :* in parameter substitution allow for array
|
||||
subtraction and intersection in the form ${name:|array}. With the :|
|
||||
operator, all entries in $name that are also in $array will be removed
|
||||
from the substitution. Conversely for the :* operation only the
|
||||
entries that are in both arrays will be substituted.
|
||||
|
||||
- Numeric expansions can have a positive or negative step
|
||||
e.g. "{3..9..2}". Negative start and end of ranges are also now
|
||||
supported.
|
||||
|
|
Loading…
Reference in New Issue