summaryrefslogtreecommitdiff
path: root/Src/subst.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-0752878: Fix ${foo:^bar} where bar is an associative arrayMikael Magnusson1-0/+3
2024-04-0152864: Change ${|var|...} to ${{var} ...}, limit local REPLY to ${|...}Bart Schaefer1-44/+96
2024-03-1752759: ${ ... } trims one trailing newline; "${ ... }" preserves that newline.Bart Schaefer1-2/+6
2024-03-0252612: %l replacment of zwarning() does literal string outputBart Schaefer1-1/+3
2024-01-2452482: strip trailing newlines in emulation modes of ${ command; }Bart Schaefer1-0/+6
2023-11-2352325: Clarify doc for edge cases of named references and nofork substitutionBart Schaefer1-1/+1
2023-11-1552202: improve handling of quoting in ${var/pattern/replacement}Bart Schaefer1-0/+7
2023-10-1152214: allow extra byte for nul terminator in allocationOliver Kiddle1-1/+1
2023-09-2752169: a few more improvements of (#) flagJun-ichi Takimoto1-8/+7
2023-09-2252176: metafy return from ${ ... } substitutionBart Schaefer1-3/+4
2023-09-16users/29160, workers/52156: Fix repetition of substitution modifier.Bart Schaefer1-2/+4
2023-09-1652154, 52155: Implement, document, and test non-forking command substitution.Bart Schaefer1-7/+150
2023-09-1352122 + 52129: fix (#) parameter expansion flagJun-ichi Takimoto1-3/+10
2023-06-0651816: add :S history modifier with pattern matchPeter Stephenson1-3/+9
2023-03-0651509 (+ fix typo): Add ${(!)name} for the referred-to name of a named referenceBart Schaefer1-7/+31
2023-03-0551483: Enable assignment and expansion of parameters with ksh-like namespace ...Bart Schaefer1-6/+9
2023-02-1251360: Initial implementation of named references.Bart Schaefer1-1/+2
2023-02-0651350: ${(S)...//#%...} didn't match the whole stringPeter Stephenson1-0/+3
2023-02-0251306: error message in ${unset?error} should be expandedPeter Stephenson1-1/+5
2023-01-1051258, 51272: refactor handling of terminal attributes, removing OFF flags in...Oliver Kiddle1-2/+9
2022-12-1651212: remove STOUC() macroOliver Kiddle1-3/+3
2022-03-2949853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bashJun-ichi Takimoto1-3/+18
2021-07-1949166: fix coredump in ${name:offset:length} with ill-formatted lengthJun-ichi Takimoto1-5/+7
2021-06-2849102: Ignore dynamic directory name failure if NO_EXECPeter Stephenson1-1/+1
2021-04-1848560: add TYPESET_TO_UNSET option to remove initialization of parametersBart Schaefer1-1/+2
2021-04-0848379: Make the parameter expansion subscript flags parse error message, "err...Daniel Shahaf1-3/+25
2020-09-13Unposted - fix commentBart Schaefer1-1/+1
2020-09-1347364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}Bart Schaefer1-4/+15
2020-07-03users/24971: ${(-)var} sorts on signed integersPeter Stephenson1-0/+4
2020-06-2646100: Fix =subst before =(subst)Peter Stephenson1-1/+1
2020-05-12Support ${name:offset:length} with an empty offsetMikael Magnusson1-5/+15
2020-03-2545583/0003: chrealpath: Let caller decide how the return value should be allo...Daniel Shahaf1-2/+2
2020-03-2545583/0002: chrealpath: Make symlink resolution optional.Daniel Shahaf1-2/+2
2019-12-1745058: internal: Add symbolic names to possible values of zexit()'s "from_whe...Daniel Shahaf1-1/+1
2019-12-1145004: Fix typos in commentsMartijn Dekker1-6/+6
2019-06-2044435: Handling digita arguments for :h and :t.Peter Stephenson1-10/+27
2018-12-2143921: ${\var} should be an errorBart Schaefer1-1/+1
2018-11-2143837 plus test from Daniel: Empty string in nested subst.Peter Stephenson1-0/+2
2018-10-0843616: Various parameter setting and display fixes.Peter Stephenson1-2/+2
2018-07-3143219 (except term{cap,info}.c): fix several memory leaksJun-ichi Takimoto1-1/+1
2018-01-2342313: avoid null-pointer deref when using ${(PA)...} on an empty array resultJoey Pabalinas1-1/+1
2017-10-1341877: Separate out SH_FILE_EXPANSION loop from parameter substitution.Peter Stephenson1-16/+23
2017-10-0841828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in pr...Barton E. Schaefer1-2/+17
2017-10-01Add typeset -p1, like typeset -p with newlinesPeter Stephenson1-1/+3
2017-09-2741764 (test tweaked): allow [key]+=value when modifying arraysPeter Stephenson1-4/+13
2017-09-2541747: Don't create hash entry if just checking existence.Peter Stephenson1-4/+8
2017-09-24Updates for ksh array element syntax.Peter Stephenson1-7/+64
2017-09-1041661: Need to remove tokens before using bufferwords() for (z)Peter Stephenson1-2/+6
2017-04-0240929 (replaces 40598): paramsubst() should always return scalar when PREFORK...Barton E. Schaefer1-13/+8
2017-03-1140832: fix $x:P when PWD=/Barton E. Schaefer1-2/+10