about summary refs log tree commit diff
path: root/Test/D04parameter.ztst
Commit message (Collapse)AuthorAgeFilesLines
* 51350: ${(S)...//#%...} didn't match the whole stringPeter Stephenson2023-02-061-0/+7
|
* 51306: error message in ${unset?error} should be expandedPeter Stephenson2023-02-021-0/+5
|
* unposted (cribbed from users/28784 by Roman): Add XFail tests for ↵Daniel Shahaf2023-01-271-0/+15
| | | | substituting a single-quoting backslash.
* 49853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bashJun-ichi Takimoto2022-03-291-0/+32
|
* 49166: fix coredump in ${name:offset:length} with ill-formatted lengthJun-ichi Takimoto2021-07-191-4/+3
|
* 48379: Make the parameter expansion subscript flags parse error message, ↵Daniel Shahaf2021-04-081-0/+5
| | | | "error in flags", identify the location of the parse error.
* users/24971: ${(-)var} sorts on signed integersPeter Stephenson2020-07-031-0/+7
|
* 45900: Fix issues with escaped newline in $-substitution.Peter Stephenson2020-05-231-3/+21
|
* 45862: Add test cases for 45843#1 and 45843#2, adapted from Aaron Esau and pws.Daniel Shahaf2020-05-201-0/+10
|
* unposted: Add tests for previous commitMikael Magnusson2020-05-121-1/+7
|
* 45269: Fix misspellings in completions and elsewhere.Jens Schleusener2020-01-091-1/+1
|
* 45181: Fix workers/45164: ${(S)%%} will now consider the empty string as a ↵Daniel Shahaf2020-01-021-1/+1
| | | | potential match.
* unposted: Add some tests for ${(S)}, including a regression test for ↵Daniel Shahaf2020-01-011-0/+25
| | | | workers/45164.
* users/24582 + users/24583: Add regression tests for the previous commit.Daniel Shahaf2019-12-311-0/+68
|
* 45001: Fix zero-length matches with ${...%...}Peter Stephenson2019-12-121-0/+23
| | | | As the shortest match is preferred, zero-length matches beat any other.
* 44664: Fix problem with temporary assignment.Peter Stephenson2019-08-141-0/+12
| | | | | "foo=bar builtin" inside a function lost any variable from enclosing scope.
* 44435: Handling digita arguments for :h and :t.Peter Stephenson2019-06-201-0/+77
| | | | | | | Pick number of leading or trailing path components to substitute. Active in history, brace parameters, glob qualifiers. Add tests for all three environments.
* unposted: test for 43938Peter Stephenson2018-12-301-0/+8
|
* 43837 plus test from Daniel: Empty string in nested subst.Peter Stephenson2018-11-211-0/+7
| | | | Skip Nularg or there is a bogus character at the start.
* 43264: fix ${+assoc[nonexistent]} with KSH_ARRAYSPeter Stephenson2018-08-091-0/+8
|
* 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES ↵Barton E. Schaefer2017-10-171-0/+21
| | | | | | is set Tests for 41902 and 41873
* 41773: Array index assignment tests for KSH_ARRAYSPeter Stephenson2017-09-281-1/+66
|
* 41764 (test tweaked): allow [key]+=value when modifying arraysPeter Stephenson2017-09-271-0/+34
|
* Updates for ksh array element syntax.Peter Stephenson2017-09-241-0/+27
| | | | | | | | Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on.
* First go at var=([key]=value) syntax.Peter Stephenson2017-09-131-0/+68
| | | | | | | Works for both normal and typeset case, also var+=... Still to do: allow to be mixed with straight array assignment, improve typeset -p, implement [key]+=value.
* 41661: Need to remove tokens before using bufferwords() for (z)Peter Stephenson2017-09-101-0/+7
|
* 22760: fix partial string length reports with NO_MULTIBYTEPeter Stephenson2017-07-021-0/+20
|
* 40909: Stress test for parameter substitutionSebastian Gniazdowski2017-03-301-0/+12
|
* 40891: fix more zero-length matches.Peter Stephenson2017-03-231-0/+10
| | | | This time at the end of the trial string.
* 22601: Fix for parameter substitution pattern matches.Peter Stephenson2017-03-231-0/+10
| | | | | It was not possible to math against a zero-length string in some cases.
* 40803, 40804, 40805, 40806: Parameter test additions.Peter Stephenson2017-03-091-1/+13
| | | | | | Potentially dodgy string for ${(z)...} splitting from Sebastian. Check that $- and ${-} produce plausible results.
* 40565 (tweaked): test cases for assigning array to scalar with various ↵Barton E. Schaefer2017-02-201-0/+80
| | | | combinations of SHWORDSPLIT and IFS
* 40088: atttempt to make interactive param test more robustPeter Stephenson2016-12-041-3/+4
|
* unposted: regression test for 40071Barton E. Schaefer2016-12-031-0/+6
|
* 39947: Additional test for array subscripts.Peter Stephenson2016-11-151-0/+8
| | | | | This checks out-of-range multiple subscripts with and without the (@) flag.
* 39815: Read input to end on parse error in $(...) inside a string.Peter Stephenson2016-11-031-0/+8
| | | | | This allows ${(z)} to output the whole string, although we can't do word splitting from the error onwards.
* zsh-users/21903: Fix ${...?...} in interactive shell.Peter Stephenson2016-09-141-0/+14
| | | | | On failure should abort back to top level, but we reset the error flag around commands. Add a hard error flag that's only reset at top level.
* unposted: Add tests for ${(q)} being aware of the EQUALS option.Daniel Shahaf2016-09-091-0/+4
|
* 39141: Use zsh instead of sh in SHLVL test.Peter Stephenson2016-08-311-12/+14
| | | | | This removes ambiguous behaviour of sh which may or may not increment SHLVL.
* 39125: More care needed decrementing SHLVL on exec.Stephane Chazelas2016-08-311-0/+18
| | | | Not needed in subshell.
* 39115: repair forced joining when (@) and (j) are used togetherBarton E. Schaefer2016-08-291-0/+9
|
* 39035: ${(A)name=word} should expand as an array even when there is only one ↵Barton E. Schaefer2016-08-121-0/+5
| | | | element.
* 39028: more join/split cases fixed and tested.Barton E. Schaefer2016-08-121-2/+8
|
* 39019 (cf. PWS 39013): add test cases for more join/split combinationsBarton E. Schaefer2016-08-111-0/+55
| | | | Accidentally omitted from previous commit.
* 37752: More tests for the previous patch.Daniel Shahaf2016-01-291-0/+18
|
* 37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax.Daniel Shahaf2016-01-291-0/+16
|
* 37705: don't turn - to Dash after start of brace parameterPeter Stephenson2016-01-201-0/+6
|
* 37348: Tests and fix for ${(q+)...}.Peter Stephenson2015-12-081-0/+14
| | | | Needs dupstring() for empty string case.
* 37344: restore old printable quoting, add ${(q+)...}.Peter Stephenson2015-12-071-1/+1
| | | | | | The \C- form is only used inside quotedzputs(). ${(q+)...} outputs a quotedzputs() representation.
* 37335: fix tests after 34314Peter Stephenson2015-12-071-2/+2
|