summary refs log tree commit diff
path: root/Test/D04parameter.ztst
Commit message (Collapse)AuthorAgeFilesLines
* 35343: Avoid $#name length handling for POSIX_IDENTIFIERSPeter Stephenson2015-05-311-3/+6
|
* 35326: $#- was misparsed as ${#-}Peter Stephenson2015-05-291-0/+5
|
* 35078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson2015-05-111-1/+1
|
* 35067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson2015-05-101-0/+4
| | | | | | Doc tweak from Daniel in 35071. Includes test.
* 34546: further $_ with anon function fix.Peter Stephenson2015-02-131-0/+29
| | | | Also add tests.
* 34322: bug with interface to parsestr() etc.Peter Stephenson2015-01-181-0/+7
| | | | | | | Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy.
* unposted: Add missing -f arg to zsh in D04parameter.ztstPeter Stephenson2014-12-141-2/+2
|
* Treat exec from subshell as if forkedPeter Stephenson2014-11-021-1/+8
| | | | | This removes weird behaviour when optimising the last command. In particular SHLVL is correct from a subshell executed as the last command.
* 33459: test for variable substitution in variable splittingPeter Stephenson2014-10-131-0/+20
|
* 32949 (wip 32928, 32937): Add :^ syntax for zipping two arraysMikael Magnusson2014-08-041-0/+76
|
* 32001: fix crash on ${:*} and ${:|}Peter Stephenson2013-11-171-0/+9
|
* 30993: fix parameter modifier crash with :wq on empty stringPeter Stephenson2013-01-221-0/+7
|
* users/17046: don't count too many elements when splitting quoted parameterPeter Stephenson2012-05-011-1/+15
| | | | substitution on null parameter
* 30439: ${...:*...} with nonexistent or non-array after *Peter Stephenson2012-04-221-0/+5
| | | | should return no results
* 30431 with typo in _typeset fix:Peter Stephenson2012-04-221-0/+23
| | | | add ${...:|...} and ${...:*...} operators, as documented
* 30413: (q-) parameter flag should quote null stringPeter Stephenson2012-04-161-0/+7
| | | | (q-q) etc. should be treated as errors
* 30383, users/16991 (Vaclav), users/17000: Improve speed of arrayuniq() byBart Schaefer2012-04-101-0/+10
| | | | implementing a hash seive algorithm; add test to exercise it.
* 30299: "$*" was split with SHWORDSPLIT if IFS was empty or unsetPeter Stephenson2012-02-291-0/+10
|
* 30242: Tests for ${...=...} in POSIX emulationBart Schaefer2012-02-221-1/+4
|
* 30181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson2012-02-121-0/+14
| | | | | | Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
* users/16253, users/16255: a nulstring should be split like an empty stringPeter Stephenson2011-08-171-0/+5
|
* 29451: ${##stuff} removes stuff from the head of $#Peter Stephenson2011-06-031-1/+9
|
* 29422: fix g:: test failing in some localesMikael Magnusson2011-06-031-14/+7
|
* 29224: Support negative LEN in ${VAR:OFFSET:LEN} like bash.Mikael Magnusson2011-05-191-0/+14
|
* 29261: Add g:: flag.Mikael Magnusson2011-05-191-0/+20
|
* 28889: ${##} should return the length of $#Peter Stephenson2011-03-111-0/+8
|
* Mikael: 28637: ${foo:0:} caused crashPeter Stephenson2011-01-181-0/+5
|
* 28630: Ricky Zhou: fix crash with isident()Peter Stephenson2011-01-161-0/+4
| | | | 28634: add test
* 28537: fix word splitting on "((" when it was nested subshells rather thanPeter Stephenson2010-12-191-0/+14
| | | | arithmetic
* 28530: replace (z+opts+) flag with (Z:opts:), add reserved (_:flags:).Bart Schaefer2010-12-151-4/+4
|
* 28528: Rearrange zleparse to lexflagsPeter Stephenson2010-12-141-0/+11
| | | | Add (z+n+)
* 28526: remove bogus newline with stripped comment zplittingPeter Stephenson2010-12-131-0/+6
|
* 28510: add (z+c+) and (z+C+) parameter flagsPeter Stephenson2010-12-121-0/+39
|
* 28434: make ${NAME:OFFSET} always use zero-offsetPeter Stephenson2010-11-251-7/+7
|
* 28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:Peter Stephenson2010-11-181-0/+29
| | | | KSH_ARRAY ${*:0:1} gives $0, etc.
* 28418: add ${NAME:OFFSET:LENGTH} substitutionPeter Stephenson2010-11-181-0/+46
|
* 28319: (z) splitting odditiesPeter Stephenson2010-10-061-0/+28
|
* unposted: fix typo in previous commitPeter Stephenson2010-05-121-0/+9
|
* 27889: Force more use of GLOB_SUBST in parameters if ~ is usedPeter Stephenson2010-04-201-0/+2
|
* 27865: fix problem with glob_subst in parameter subsitutionPeter Stephenson2010-04-091-0/+10
|
* 27780: effect of backslashes in :s changed in _filesPeter Stephenson2010-03-151-0/+19
|
* users/14905 + 14906: problems with :s in parameter expansionPeter Stephenson2010-02-271-0/+26
|
* 27243: reverse indexing of arrays with beginning index out of range returnedPeter Stephenson2009-09-051-0/+28
| | | | wrong value
* 27304: add ${(q-)..} flagPeter Stephenson2009-06-051-0/+14
|
* 25831: fix empty return values from subscript matches with RC_EXPAND_PARAMPeter Stephenson2008-10-091-0/+34
|
* 25760: add (~) flagPeter Stephenson2008-09-271-0/+24
|
* 25627: add $ZSH_SUBSHELLPeter Stephenson2008-09-051-0/+15
|
* fix optimisation of string matching with multibyte modePeter Stephenson2008-03-251-0/+37
| | | | | 24732: attempt to provide adequate space for sched ztrftime string with multibyte characters
* unposted: make test for added space in 24699 saferPeter Stephenson2008-03-111-1/+1
|
* 24699: bug with ${(Q)...} on initial ">"Peter Stephenson2008-03-081-0/+28
| | | | bug with ${(z)...} on string with unterminated "("