aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/parser.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r220903: sh: Do not word split "${#parameter}".Jilles Tjoelker2011-05-061-1/+1
* MFC r213811: c89 linkage and storage class (also covers r213744, r213760)David E. O'Brien2010-10-201-45/+46
* MFC r209653: sh: Use $PWD instead of getcwd() for \w \W prompt expansions.Jilles Tjoelker2010-10-091-12/+11
* MFC r201053: sh: Various warning fixes (from WARNS=6 NO_WERROR=1):Jilles Tjoelker2010-10-031-4/+5
* MFC r200956: sh: Constify various strings.Jilles Tjoelker2010-10-021-2/+2
* MFC r210221: sh: Allow a bg command consisting solely of redirections.Jilles Tjoelker2010-08-011-0/+1
* MFC r209337: sh: Fix compilation with -DNO_HISTORY.Jilles Tjoelker2010-07-031-0/+1
* MFC r199282: sh: Allow a newline before "in" in a for command,Jilles Tjoelker2010-04-201-1/+3
* MFC r204276:Jaakko Heinonen2010-03-031-1/+1
* MFC r198173: sh: show more info about syntax errors in command substitution:Jilles Tjoelker2009-12-201-0/+5
* sh: Improve handling of setjmp/longjmp volatile:Jilles Tjoelker2009-06-231-19/+1
* correctly test for __GNUC__ macro (non-GCC compilers do not have it defined a...Ralf S. Engelschall2009-06-011-2/+2
* Parse 'cmd1 && ! cmd2 | cmd3' correctly, the bang should apply to the entireStefan Farfeleder2009-04-131-0/+1
* Fix checking if a variable name is LINENO. As STPUTC changes the pointer if itStefan Farfeleder2008-05-281-2/+5
* Expand $LINENO to the current line number. This is required by SUSv3's "UserStefan Farfeleder2008-05-151-3/+22
* When parsing an invalid parameter expansion (eg. ${} or ${foo@bar}) do notStefan Farfeleder2006-11-051-9/+19
* Do not forget to increment the input line counterYaroslav Tykhiy2006-07-311-0/+1
* Remove a hack for an ancient gdb.Stefan Farfeleder2005-08-151-13/+4
* Put the comparison with PEOF into a new macro is_eof(). Don't use it if theStefan Farfeleder2005-08-131-3/+4
* Use assignment rather than comparison.Stefan Farfeleder2005-08-131-2/+2
* Include missing headers.Stefan Farfeleder2005-08-131-0/+1
* Support \H, \h, \w, \W, \$ string expansion in the prompt.David E. O'Brien2005-03-011-4/+91
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
* Replace home-grown dup2() implementation with actual dup2() calls. ThisDag-Erling Smørgrav2004-01-211-1/+0
* Changes following CScout analysis:Diomidis Spinellis2003-07-051-11/+11
* Disallow empty condition parts of "if", "while" and "until" compoundTim J. Robbins2002-10-061-3/+6
* Remove bits and pieces of support for atty, which was made obsolete byTim J. Robbins2002-10-011-10/+0
* Allow a left parenthesis before patterns in case blocks. POSIX requiresTim J. Robbins2002-09-301-0/+2
* Allow empty case/esac statements; POSIX requires this, and recent versionsTim J. Robbins2002-09-301-2/+2
* Replace various spellings with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-1/+1
* Allow redirections by themselves between "&&" and "||" operators.Tim J. Robbins2002-08-111-3/+2
* Don't allow "||" or "&&" to be the first tokens of a command.Tim J. Robbins2002-07-221-0/+1
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+2
* Minor const cleanup.Juli Mallett2002-06-201-2/+2
* Implement the -C (-o noclobber) option, which prevents existing regularTim J. Robbins2002-05-191-0/+2
* o __P has been reovedWarner Losh2002-02-021-59/+52
* BASESYNTAX, DQSYNTAX, SQSYNTAX and ARISYNTAX handles negative indexes.Tor Egge2001-09-191-2/+2
* ``|'' should be more binding than ``!'' so that this isn't broken:Brian Somers2001-04-091-2/+13
* A much better (more correct) fix for handling ``!'' charactersBrian Somers2001-04-041-23/+40
* Handle ``!'' characters when they appear as second and subsequentBrian Somers2001-04-041-0/+3
* Implement the <> redirection operator.Brian Somers2000-10-031-0/+2
* Disable part of my 8-bits fixes from December 1999.Martin Cracauer2000-08-161-4/+1
* Fix parsing of string for eval command.Martin Cracauer2000-05-151-0/+1
* Fix warnings, some of them serious because sh violated nameMartin Cracauer2000-04-201-2/+1
* Fix ${#varname} (getting length of string) when in double-quotes.Martin Cracauer2000-02-151-1/+1
* Second part of 8-bit fixes.Martin Cracauer1999-12-161-1/+9
* First round of 8-bit fixes.Martin Cracauer1999-12-151-4/+5
* Fix "subscript has type `char'" warnings by casting to int, asMartin Cracauer1999-12-041-1/+1
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
* Be more consistent with handling of quote mark control character.Tor Egge1998-09-131-9/+19