summary refs log tree commit diff
path: root/Src/subst.c
Commit message (Collapse)AuthorAgeFilesLines
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-24/+19
|
* 22375, 22376: ${(0)...} splits on NULL bytePeter Stephenson2006-03-221-0/+7
|
* Use the new "flags" integer to get rid of the mult_isarr global.Wayne Davison2006-03-071-55/+34
|
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-13/+13
|
* Made ${(A)=name:=word} (which is an array assignment) not split onWayne Davison2006-02-161-14/+10
| | | | quoted whitespace, just like the new ${1+"$@"} handling.
* Fixed another ${name+word} problem when word consisted of anWayne Davison2006-02-151-29/+19
| | | | array followed by a scalar. Also updated several comments.
* - Fixed: setopt shwordsplit; set 1 '2 3' 4; print -l ${1+"$@"}Wayne Davison2006-02-151-36/+89
| | | | | | - Fixed: setopt shwordsplit; foo='1 2'; print -l ${==foo+$foo} - Fixed: emulate sh; touch '1 2'; print -l ${1:-*\ *} - Improved multsub() and its comments.
* 22195: don't set HOME in the shellPeter Stephenson2006-02-061-1/+1
|
* 21967: add ${(#)...} substitutionPeter Stephenson2005-11-011-0/+43
|
* 21871: replace INULL() by inull()Peter Stephenson2005-10-131-5/+5
|
* 21862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameterPeter Stephenson2005-10-111-3/+3
| | | | substitutions that don't match anything.
* 20605: Use separate structure with get/set/unset methods fro parameters.Peter Stephenson2004-12-071-6/+56
| | | | Separate justification width of parameters from base/precision.
* 20112 changed c.f. 20113:Peter Stephenson2004-06-281-0/+30
| | | | fix here string and here document expansion and quoting
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-1/+1
|
* Silenced one signed/unsigned comparison compiler warning.Wayne Davison2004-05-281-1/+1
|
* 18982: comments/rant for paramsubst(), accidentally uncommitedPeter Stephenson2003-08-301-8/+564
|
* users/1654: anchors did'nt work with // parameter substitutionPeter Stephenson2003-06-051-1/+1
|
* 18569: pointer error with ${(on)...}Peter Stephenson2003-05-221-1/+1
|
* 18565: bug when ${(u)...} reduced array to length 1Peter Stephenson2003-05-211-10/+17
|
* 18508: quoting of separator in ${foo//../..} was buggyPeter Stephenson2003-05-071-7/+12
|
* Split tokenize() into shtokenize() and zshtokenize()Bart Schaefer2002-05-061-5/+5
| | | | to improve SH_GLOB handling, particularly in completion
* 16620, 16697: add a and n parameter expansion flagsOliver Kiddle2002-02-221-10/+96
|
* 16400, 16401: preserve empty words that result from brace expansion.Bart Schaefer2002-01-061-5/+12
|
* 16357: change (n) to (u) so (n) can be reserved. for numeric sorting.Clint Adams2001-12-171-1/+1
|
* ref 16347: tweaksClint Adams2001-12-171-1/+1
|
* 16345: (n) flag to remove duplicate array values during expansion.Clint Adams2001-12-161-0/+13
|
* 16215: save and restore mult_isarr in singsub()Bart Schaefer2001-11-031-0/+2
|
* 15931: EXIT traps from exit in subshell; 15965: glob -> zglobPeter Stephenson2001-10-081-1/+1
|
* Equivalence of $(...) and `...` in ${(e)...}.Bart Schaefer2001-09-251-5/+8
|
* handle possible NULL pointer returned from bufferwords() (15717)Sven Wischnowsky2001-08-281-1/+1
|
* 15586: remove =alias expansion, leaving only =cmd.Peter Stephenson2001-08-071-9/+3
|
* Added KSH_TYPESET option.Peter Stephenson2001-06-121-3/+10
|
* Fix re-set of integer special params after unset.Bart Schaefer2001-05-191-0/+1
|
* try to make ${(e)..} work for complicated parameter expansions in the value; ↵Sven Wischnowsky2001-05-181-2/+13
| | | | this means: keep Qstring tokens unchanged if they are inside double quotes and tokenizing patterns in parameter expansions (14381)
* BDIGBUFSIZE for binary conversions.Bart Schaefer2001-04-281-1/+1
|
* Subscripting optimization and error checking.Bart Schaefer2001-04-241-3/+5
|
* Fix "${=foo=$@}".Bart Schaefer2001-02-161-4/+4
|
* Partial sh emulation fixs for ${1+"$@"} and "${foo=$@}".Bart Schaefer2001-02-161-1/+16
|
* remove 13108 (trap queues); replace with signal queueing to ensure that user ↵Sven Wischnowsky2001-01-161-3/+11
| | | | signal handlers are only executed when it is safe to run them (13365)
* Fix parsing of := for magicequalsubst.Bart Schaefer2000-06-171-3/+5
|
* 11838: typeset -HPeter Stephenson2000-06-091-0/+2
|
* make (e) flag be silent unless (X) is given, too (11768)Sven Wischnowsky2000-06-061-7/+7
|
* Changed the array "len" to be "end" -- a 1-relative index of the lastWayne Davison2000-06-021-1/+1
| | | | item (or you can think of it as pointing one past the last item).
* FR & pws: promptexpand memory leaks; NEWS notesPeter Stephenson2000-06-011-3/+9
|
* Wayne: pattern.c unitialised varPeter Stephenson2000-05-311-4/+4
| | | | Zero-length arrays now possible with $array[1,0]
* 11467: [#<base>] syntax for output basePeter Stephenson2000-05-191-3/+6
| | | | zsh-users/3071: compdump tweak to avoid // in path
* detect additional characters in parameter expansions and signal an error for ↵Sven Wischnowsky2000-05-151-3/+16
| | | | them (11380)
* 11194, 11200, 11214Peter Stephenson2000-05-081-0/+8
|
* new (z) parameter flag to do shell-word splitting on the value (11113)Sven Wischnowsky2000-05-031-0/+33
|
* 10547: (#s) and (#e) pattern assertionsPeter Stephenson2000-04-061-216/+636
|