summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2016-06-06shell: Fix build on Solaris 9Jonathan Perkin2-6/+10
2016-06-06jobs: Don't attempt to access job table for job %0Tobias Klauser1-1/+1
2016-06-06builtin: Reject malformed printf specifications with digits after '*'Patrick Brown1-8/+15
2016-06-06Release 0.5.9.v0.5.9Herbert Xu1-1/+1
2015-08-13builtin: Reset t_wp_op in testcmdHerbert Xu1-0/+2
2015-06-11man: Fix description of getopts when last argument reachedFelix Dietrich1-7/+2
2015-06-11builtin: Clear LC_ALL in mkbuiltinsFredrik Fornwall1-3/+4
2015-01-05input: Allow two consecutive calls to pungetcHerbert Xu2-8/+34
2015-01-05input: Move all input state into parsefileHerbert Xu2-73/+67
2015-01-05input: Remove HETIOHerbert Xu6-444/+1
2015-01-05input: Make preadbuffer staticHerbert Xu2-3/+2
2015-01-05expand: Fixed "$@" expansion when EXP_FULL is falseHerbert Xu1-6/+5
2014-12-26builtin: create builtins.c properly on old cppkabe@sra-tohoku.co.jp1-1/+1
2014-12-26man: Clarify two redirection mechanismsStéphane Aulery1-2/+4
2014-11-17[BUILTIN] Fix "test -x" as root on FreeBSD 8Jonathan Nieder2-0/+51
2014-11-17[MAN] Document redirection file descriptor limitationStéphane Aulery2-1/+2
2014-11-17[MAN] Correct typo in manual pageStéphane Aulery2-1/+5
2014-10-30[PARSER] Catch variable length expansions on non-existant specialsHerbert Xu2-4/+11
2014-10-28[PARSER] Simplify EOF/newline handling in list parserHerbert Xu2-34/+27
2014-10-28[PARSER] Removed unnecessary pungetc on EOF from parserHerbert Xu2-2/+4
2014-10-27[BUILTIN] Handle -- in dotcmdHerbert Xu2-2/+7
2014-10-27[BUILTIN] Simplify echo commandHerbert Xu2-20/+9
2014-10-27[BUILTIN] Optimise handling of backslash octals in printfHerbert Xu2-22/+9
2014-10-27[BUILTIN] Use error instead of warnx for fatal errors in printfHerbert Xu2-12/+6
2014-10-27[BUILTIN] Remove getintmax in printfHerbert Xu2-34/+12
2014-10-27[BUILTIN] Remove unnecessary restoration of format string in printfHerbert Xu2-1/+1
2014-10-27[OUTPUT] Add ifdefs around MEM_OUT handling in outmemHerbert Xu2-0/+7
2014-10-27[OUTPUT] Add likely tag in outmemHerbert Xu2-1/+2
2014-10-27[INPUT] Replace open-coded flushall in preadbufferHerbert Xu2-4/+2
2014-10-27[BUILTIN] Handle embedded NULs correctly in printfHerbert Xu4-47/+119
2014-10-27[BUILTIN] Add printf support for format string a, A, and FHerbert Xu2-0/+7
2014-10-27[CD] support drive letters on CygwinEric Blake2-0/+18
2014-10-08[EXPAND] Optimise nulonly away and just use quoted as beforeHerbert Xu2-11/+12
2014-10-08[EXPAND] Do not split quoted VSLENGTH and VSTRIMHerbert Xu2-19/+14
2014-10-08[EXPAND] Split unquoted $@/$* correctly when IFS is set but emptyHerbert Xu2-7/+15
2014-10-07[VAR] Use setvareq to set OPTIND initiallyHerbert Xu2-2/+7
2014-10-06[BUILTIN] Return without arguments in a trap should use status outside trapsHerbert Xu5-5/+19
2014-10-06[BUILTIN] Allow return in loop conditional to set exit statusHerbert Xu2-1/+3
2014-10-06[EVAL] Move common skipcount logic into skiploopHerbert Xu2-25/+32
2014-10-06[BUILTIN] Do not allow break to break across function callsHerbert Xu2-0/+5
2014-10-06[BUILTIN] Exit without arguments in a trap should use status outside trapsHerbert Xu5-13/+33
2014-10-03[EVAL] Do not clobber exitstatus in evalcommandHerbert Xu2-6/+7
2014-10-02[ERROR] Set exitstatus in onintHerbert Xu3-14/+10
2014-10-02[TRAP] Make sure evalskip is zero before running trapsHerbert Xu3-4/+14
2014-10-02[EVAL] Fix use-after-free in dotrap/evalstringHerbert Xu3-2/+8
2014-09-29[PARSER] Add nlprompt/nlnoprompt helpersHerbert Xu2-21/+22
2014-09-29[PARSER] Handle backslash newlines properly after dollar signHerbert Xu2-9/+28
2014-09-29[INPUT] Kill pgetc_macroHerbert Xu4-7/+11
2014-09-28[BUILTIN] Correctly handle test ! ! = !Herbert Xu2-3/+11
2014-09-26Release 0.5.8.v0.5.8Herbert Xu2-1/+2
2014-09-26[MAN] Clarify "trap '' signals" syntax in manual pageJonathan Nieder2-1/+7
2014-09-26[MAN] 0 and EXIT both work for exit trapsAdam Buchbinder2-1/+7
2014-09-26[MAN] Change characters for printf precision to bytesHerbert Xu2-2/+3
2014-09-26[JOBS] Fix off-by-one error for multiple of four job numbersHarald van Dijk2-1/+2
2014-09-26[BUILTIN] Set command -p path to /usr/sbin:/usr/bin:/sbin:/binHerbert Xu2-1/+2
2014-09-26[BUILTIN] Small optimisation of command -pv changeHerbert Xu2-5/+11
2014-09-26[BUILTIN] command: allow combining -p with -vHarald van Dijk2-6/+13
2013-08-23[BUILTIN] Fixed argument parsing crash in testHerbert Xu2-3/+8
2013-08-23[VAR] Initialise OPTIND after importing environmentHerbert Xu2-0/+3
2013-08-23[VAR] Add newline when tracing in poplocalvarsPeter Rosin2-1/+5
2013-08-23[MAN] Markup fixes in manual for mandoc 1.12.1Jérémie Courrèges-Anglas2-2/+6
2013-08-23[BUILTIN] Use PRIdMAX instead of %j in printfHarald van Dijk2-4/+16
2013-08-23[EXPAND] Propagate EXP_QPAT in subevalvarHerbert Xu2-1/+6
2013-08-23[MAN] Fix typo for waitKimo Rosenbaum2-1/+5
2012-07-03[BUILTIN] Add support for ulimit -rChristoph Mathys3-0/+9
2012-07-03Avoid overflow for very long variable nameJim Meyering2-1/+6
2012-02-25[VAR] Sanitise environment variable names on entryHerbert Xu2-1/+6
2011-08-17[SHELL] Add top-level autogen.shDavid S. Miller2-0/+7
2011-08-17[SHELL] Allow building without LINEO supportDavid S. Miller4-0/+19
2011-08-17[ARITH] Avoid imaxdiv when only one of the results is wantedHarald van Dijk3-10/+5
2011-07-15[SHELL] Fix klibc DEBUG compilationmaximilian attems2-0/+10
2011-07-09[BUILTIN] Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmdHerbert Xu4-3/+6
2011-07-08Release 0.5.7.v0.5.7Herbert Xu2-1/+5
2011-07-08[EVAL] Avoid using undefined handlerJim Meyering2-2/+6
2011-07-08[MEMALLOC] Avoid clang warning about dead store to "size"Jim Meyering2-1/+2
2011-07-08[MEMALLOC] Avoid gcc warning: variable 'oldstackp' set but not usedJim Meyering2-3/+5
2011-07-07[BUILTIN] Eliminate unnecessary promotion in echocmdHerbert Xu2-1/+2
2011-07-07[OUTPUT] Make outc an inline functionJonathan Nieder2-2/+17
2011-07-07[MAN] Remove spurious space in descriptions of PS1, PS2, PS4Kalle Olavi Niemitalo2-4/+8
2011-07-07[SHELL] Optimize dash -c "command" to avoid a forkHerbert Xu8-14/+33
2011-07-07[EVAL] Remove unused EV_BACKCMD flagJonathan Nieder2-45/+23
2011-03-15[PARSER] Fix clobbering of checkkwdHerbert Xu2-2/+7
2011-03-15[DEBUG] Use va_copy when reusing a va_listJonathan Nieder2-1/+5
2011-03-15[EXPAND] Free IFS state after here document expansionJonathan Nieder2-2/+9
2011-03-15[SHELL] Improve LINENO supportHarald van Dijk13-44/+81
2011-03-15[EVAL] Let funcnode refer to a function definition, not its first commandHarald van Dijk4-5/+9
2011-03-15[SHELL] Port to SolarisBrian Koropoff20-14/+104
2011-03-11[BUILTIN] Fix backslash handling in read(1)Herbert Xu5-13/+32
2011-03-10[BUILTIN] Dotcmd should exit with zero when doing nothingJonathan Nieder2-3/+8
2011-03-10[BUILTIN] Fix CTLESC clobbering by read(1)Herbert Xu2-1/+5
2011-03-10[SHELL] Port to AIXBrian Koropoff3-1/+7
2011-03-10[EXPAND] Do not split the result of tilde expansionJilles Tjoelker2-3/+1
2011-03-10[REDIR] Replace GPL noclobberopen code with the FreeBSD versionJilles Tjoelker2-62/+19
2010-11-28[EXPAND] Free IFS state in evalbackcmdHerbert Xu2-0/+2
2010-11-28[SIGNAL] Mark status as volatile in exitshellMaciej Żenczykowski2-1/+5
2010-11-28[BUILTIN] Stop documenting EXSHELLPROCJonathan Nieder3-11/+2
2010-11-28[BUILTIN] Use EXEXIT in place of EXEXECJonathan Nieder4-3/+6
2010-11-28[INPUT] Use exit status 127 when the script to run does not existGerrit Pape2-1/+7
2010-11-28[ERROR] Allow the originator of EXERROR to set the exit statusHerbert Xu4-4/+7
2010-11-28[MAN] Document optional open parenthesis for case patternsPhilipp Weis2-1/+10
2010-11-28[EVAL] Fixed trap/return regression due to SKIPEVAL removalHerbert Xu4-9/+16
2010-10-18[EXPAND] Fix ifsfirst/ifslastp leak in casematchHerbert Xu2-0/+5
2010-10-07[BUILTIN] Fix EXEXEC status clobberingHerbert Xu2-1/+5
2010-09-08[BUILTIN] Fix trailing field bug in read(1)Herbert Xu2-8/+15
2010-09-08[EXPAND] Fix ifsfirst/ifslastp leakHerbert Xu4-12/+25
2010-09-08[JOBS] Debug compile fixmaximilian attems2-2/+5
2010-09-08[VAR] Fix varinit ordering that broke fcJilles Tjoelker2-1/+6
2010-07-06[EVAL] Check exit for eval NSUBSHELLGerrit Pape2-1/+5
2010-07-06[EVAL] Removed dead code for eval NPIPEHerbert Xu2-6/+1
2010-07-06[VAR] Fix loss of variables when hash collidesHerbert Xu3-14/+22
2010-06-28[EVAL] Don't clear eflag in evalbackcmdGerrit Pape2-1/+4
2010-05-29[BUILTIN] Continue after EINTR in read(1) with no pending signalsHerbert Xu2-2/+15
2010-05-27[JOBS] Fix wait regression where it does not wait for all jobsHerbert Xu4-3/+13
2010-05-27[EXPAND] Fix corruption of redirections with byte 0x81Jilles Tjoelker2-2/+1
2010-05-27[EVAL] Force fork if any trap is set, not just on EXITJilles Tjoelker4-8/+26
2010-05-27[REDIR] Fix popredir on abnormal exit from built-inHerbert Xu4-13/+40
2010-05-27[REDIR] Move null redirect checks into callerHerbert Xu3-15/+6
2010-05-27[VAR] Do not poplocalvars prematurely on regular utilitiesHerbert Xu3-4/+7
2010-05-27[VAR] Document local command behaviour changeHerbert Xu1-1/+1
2010-05-27[VAR] Fix poplocalvar on abnormal exit from functionHerbert Xu4-6/+22
2010-05-26[VAR] Replace cmdenviron with localvarsHerbert Xu5-42/+46
2010-05-26[VAR] Move unsetvar functionality into setvareqHerbert Xu3-38/+19
2010-05-26[VAR] Fix poplocalvar leakHerbert Xu2-5/+7
2010-05-26[VAR] Add localvars nestingHerbert Xu4-11/+51
2010-05-03[EVAL] Fix command -- crashGerrit Pape2-1/+6
2010-04-15[JOBS] Fix for job control off warningH. Peter Anvin2-1/+5
2010-04-02[BUILTIN] Use faccessat if availableHerbert Xu3-1/+28
2010-04-02Release 0.5.6.v0.5.6Herbert Xu2-1/+2
2010-04-02[BUILTIN] Make trap signal name/number errors non-fatal.Herbert Xu2-2/+8
2010-04-02[BUILTIN] Use TMPDIR in mkbuiltinsmaximilian attems2-1/+5
2010-03-10[ARITH] Fix logical or result valueJilles Tjoelker2-1/+5
2010-03-09[REDIR] Do not truncate file for FROMTO redirectionHerbert Xu2-1/+5
2010-03-09[ARITH] Fix binary operator parsingHerbert Xu2-10/+24
2010-03-09[BUILD] Fix changelog entryHerbert Xu1-1/+1
2009-11-26[BUILTIN] Fix off-by-one recordregion in readcmdHerbert Xu2-1/+5
2009-11-04[PARSER] Fix syntax array sizeJim Meyering2-3/+16
2009-08-31[CD] Lookup PWD after going through CDPATHHerbert Xu2-10/+12
2009-08-31[BUILTIN] Avoid compiler warnings on isdigitEric Blake2-1/+5
2009-08-31[BUILTIN] Add another missing LC_COLLATE to mkbuiltinsMatthew Burgess2-1/+5
2009-08-31[BUILTIN] Fix NUL termination in readcmdHerbert Xu2-1/+5
2009-08-11[EVAL] Revert SKIPEVAL into EXEXITHerbert Xu4-16/+6
2009-08-11[EVAL] Pass EV_TESTED into evalcmdHerbert Xu6-16/+27
2009-08-11[SHELL] Add preliminary LINENO supportRocky Bernstein5-6/+22
2009-08-11[BUILTIN] Honor tab as IFS whitespace when splitting fields in readcmdStefan Potyra4-35/+78
2009-06-27[EXPAND] Fix quoted pattern patch breakageHerbert Xu4-5/+9
2009-06-27[REDIR] Fix incorrect savefd conversionsHerbert Xu5-10/+12
2009-05-23[MAN] Update manual page to differentiate dash from ashGerrit Pape2-9/+14
2009-02-22[PARSER] Use CHKNL to parse case statementsHerbert Xu2-4/+3
2009-02-22[PARSER] Allow newlines after var name in for statementsHerbert Xu2-2/+3
2009-02-22[JOBS] Do not close stderr when /dev/tty fails to openHerbert Xu2-0/+4
2009-02-22[SIGNAL] Remove EXSIGHerbert Xu6-36/+9
2009-02-22[JOBS] Fix dowait signal raceHerbert Xu4-33/+46
2009-01-14Release 0.5.5.1.v0.5.5.1Herbert Xu2-1/+2
2009-01-14[BUILD] Add arith_yacc.h to dash_SOURCESHerbert Xu2-1/+6
2009-01-13Release 0.5.5.v0.5.5Herbert Xu2-1/+5
2009-01-13[BUILD] Fixed build on OS XMark Mentovai4-2/+36
2009-01-13[BUILD] Fixed build on NetBSDAleksey Cheusov4-1/+9
2008-10-17[MAN] Removed obsolete for loop syntaxHerbert Xu2-4/+4
2008-08-05[CD] Fixed getcwd build error for the non-glibc caseHerbert Xu2-1/+5
2008-07-13[MAN] Added missing right parenthesisGerrit Pape2-1/+5
2008-07-13[OPTIONS] Added support for -lHerbert Xu5-8/+21
2008-07-13[SHELL] Expand ENV before using itHerbert Xu2-1/+4
2008-07-13[INPUT] Made setinputfd staticHerbert Xu3-2/+3
2008-07-13[BUILTIN] Made t_lex reentrantHerbert Xu2-21/+21
2008-07-13[BUILTIN] Made aexpr/oexpr non-recursiveHerbert Xu2-12/+20
2008-07-13[BUILTIN] Fixed 3,4-argument cases for test per POSIXHerbert Xu2-24/+61
2008-05-19[EXPAND] Fixed non-leading slash treatment in expmetaHerbert Xu2-6/+12
2008-05-07[ARITH] Fixed lexical error on & and |Gerrit Pape2-3/+9
2008-05-03[SHELL] Added gitignoreDan McGee2-0/+14
2008-05-03[SHELL] Use uninitialized_var to silence bogus warningsHerbert Xu3-2/+10
2008-05-03[SHELL] Fixed klibc/klcc build problemsDan McGee5-3/+9
2008-05-03[ERROR] Set default exvwarning2 arg0 for errors during early initialisationHerbert Xu2-1/+2
2008-05-03[CD] Restored warning when getcwd failsHerbert Xu2-2/+11
2008-05-03[CD] Test __GLIBC__ instead of _GNU_SOURCEHerbert Xu2-1/+2
2008-05-03[EXEC] Fixed _PATH_BSHELL warningHerbert Xu2-2/+8
2008-05-02[CD] Restored non-glibc getcwd supportHerbert Xu2-2/+9
2008-05-02[JOBS] Fix cmdtxt crash on if statementsLarry Doolittle2-2/+7
2008-05-02[EXPAND] Fix slash treatment in expmetaHerbert Xu2-7/+12
2007-12-27[PARSER] Do not show prompts in expandstrHerbert Xu2-0/+9
2007-12-27[PARSER] Add FAKEEOFMARK for expandstrHerbert Xu2-2/+16
2007-12-23[ARITH] If imaxdiv() isn't available, use / and % operatorsGerrit Pape3-2/+13
2007-12-23[BUILTIN] Add set +o supportRichard M Kreuter3-4/+21
2007-12-23[EVAL] Fix bad pointer arithmetic in evalcommandSteve Langasek2-1/+6
2007-11-11[EXPAND] Expand here-documents in the current shell environmentHerbert Xu4-23/+15
2007-11-11[EXPAND] Removed herefd hackHerbert Xu5-16/+1
2007-11-11[PARSER] Removed noexpand/length check on eofmarkHerbert Xu5-77/+44
2007-10-20[PARSER] Fix here-doc corruptionHerbert Xu2-5/+7
2007-10-20[EXPAND] Added configure --enable-glob and --enable-fnmatch optionsHerbert Xu4-19/+27
2007-10-17[SHELL] Replace shared illnum message by badnum function.Herbert Xu4-6/+15
2007-10-17[BUILTIN] Disallow completely blank strings in non-arithmetic context.Oleg Verych2-0/+11
2007-10-15[EXEC] Fixed execing of scripts with no hash-bangHerbert Xu3-19/+9
2007-10-11[BUILTIN] Use setvarint to set OPTINDHerbert Xu5-7/+7
2007-10-11[EXPAND] Add likely flags in expariHerbert Xu2-2/+3
2007-10-11[ARITH] Size optimisations in arithmetic lexerHerbert Xu2-26/+27
2007-10-11[ARITH] Add assignment and intmax_t supportHerbert Xu13-237/+513
2007-10-08[PARSER] Report substition errors at expansion timeHerbert Xu3-3/+12
2007-10-06[BUILTIN] Use intmax_t arithmetic in testHerbert Xu4-27/+41
2007-10-06[VAR] Remove setvarsafeHerbert Xu4-51/+24
2007-10-06[BUILTIN] Treat OPTIND=0 in the same way as OPTIND=1Herbert Xu2-3/+2
2007-10-06[MEMALLOC] Add pushstackmarkHerbert Xu5-26/+15