aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/expand.c
Commit message (Expand)AuthorAgeFilesLines
* sh: Fix ${param?} default error messageJilles Tjoelker2018-11-281-2/+3
* sh: Fix formal overflow in pointer arithmeticJilles Tjoelker2018-09-051-2/+2
* sh: Don't have [ match any [[:class:]]Jilles Tjoelker2018-04-291-1/+3
* sh: Fix '-' from quoted arithmetic in case/glob pattern range.Jilles Tjoelker2017-05-141-2/+9
* sh: Update TOUR and comments for some code changes, some of them old.Jilles Tjoelker2017-05-061-6/+6
* sh: Simplify handling of newlines in command substitution.Jilles Tjoelker2017-04-281-22/+17
* sh: Remove global state from collate_range_cmp().Jilles Tjoelker2017-04-021-1/+3
* sh: Don't scan word twice in ${param=word}.Jilles Tjoelker2017-04-021-12/+11
* sh: Don't scan word twice in ${param#%##%%word}.Jilles Tjoelker2017-04-021-11/+12
* sh: Don't scan word twice in ${param+-word}.Jilles Tjoelker2017-04-021-11/+7
* sh: Fix build with -DDEBUG=2.Jilles Tjoelker2017-03-191-4/+1
* sh: Remove unused return value of subevalvar_misc().Jilles Tjoelker2017-03-181-10/+8
* sh: Get rid of global variable argbackq.Jilles Tjoelker2017-03-161-32/+37
* sh: Fix executing wrong command with ${unsetvar#$(cmdsubst)}$(cmdsubst).Jilles Tjoelker2017-03-101-1/+3
* sh: Fix crash if a -T trap is taken during command substitution.Jilles Tjoelker2017-03-041-2/+5
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* sh: Fix a clang warning.Jilles Tjoelker2016-07-311-1/+2
* Path generation was not according to collateAndrey A. Chernov2016-07-161-1/+1
* Back out non-collating [a-z] ranges.Andrey A. Chernov2016-07-141-1/+14
* After removing collation for [a-z] ranges in r302512, do it here too.Andrey A. Chernov2016-07-131-14/+1
* sh: Fix some dead stores.Jilles Tjoelker2016-03-061-2/+1
* sh: Constify internal representation in expand.c.Jilles Tjoelker2016-01-241-22/+28
* sh: Reduce size of options table.Jilles Tjoelker2016-01-071-2/+2
* sh: Remove redundant CTLQUOTEMARK checks.Jilles Tjoelker2015-12-311-18/+2
* sh: Reindent expandmeta().Jilles Tjoelker2015-12-311-21/+21
* sh: Perform pathname generation during the first expansion phases.Jilles Tjoelker2015-12-311-51/+53
* sh: Perform IFS splitting during the first expansion phases.Jilles Tjoelker2015-12-311-362/+253
* sh: Split subevalvar() in #/##/%/%% and =/? parts.Jilles Tjoelker2015-12-291-28/+45
* sh: Fix ""$@, which should not use the special case for "$@".Jilles Tjoelker2015-11-181-1/+2
* sh: Avoid copying argv for simple commands.Jilles Tjoelker2015-11-011-2/+1
* sh: Make struct arglist an array instead of a linked list.Jilles Tjoelker2015-10-111-141/+74
* wordexp: Rewrite to make WRDE_NOCMD reliable.Jilles Tjoelker2015-09-301-0/+54
* sh: Add set -o nolog.Jilles Tjoelker2015-08-291-1/+1
* sh: Fix out of bounds read when there is no ] after a [:class:].Jilles Tjoelker2015-08-251-12/+7
* Fix unitialized variable that broke sh on PowerPC starting with r278826.Nathan Whitehorn2015-02-261-1/+1
* sh: Various cleanups to expand.c:Jilles Tjoelker2015-02-151-60/+55
* sh: Prefer "" to nullstr where possible.Jilles Tjoelker2015-02-151-2/+1
* sh: Add stsavestr(), like savestr() but allocates using stalloc().Jilles Tjoelker2015-02-151-4/+1
* sh: Remove EXP_REDIR.Jilles Tjoelker2014-12-211-12/+6
* sh: Use DQSYNTAX only while expanding, not SQSYNTAX.Jilles Tjoelker2014-11-221-1/+1
* sh: Fix corruption of CTL* bytes in positional parameters in redirection.Jilles Tjoelker2014-10-311-1/+1
* Treat IFS separators in "$*" as quoted.Jilles Tjoelker2014-10-281-5/+8
* sh: Remove more gotos.Jilles Tjoelker2014-10-151-23/+21
* sh: Eliminate some gotos.Jilles Tjoelker2014-10-051-10/+5
* sh: Correctly handle positional parameters beyond INT_MAX on 64-bit systems.Jilles Tjoelker2014-07-121-2/+4
* sh: Consistently treat ${01} like $1.Jilles Tjoelker2014-07-121-7/+6
* sh: Fix possible memory leaks and double frees with unexpected SIGINT.Jilles Tjoelker2014-03-261-0/+3
* sh: Add some consts.Jilles Tjoelker2014-03-141-5/+5
* sh: Make argstr() return where it stopped and simplify expari() using this.Jilles Tjoelker2014-03-041-21/+5
* sh: Simplify expari().Jilles Tjoelker2014-03-021-48/+46