summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix var_assign_re to recognize a call to the 'declare' builtin even whenZac Medico2008-03-091-1/+1
| | | | | | no options are given. svn path=/main/trunk/; revision=9456
* Remove egrep syntax emulation since it's not really needed.Zac Medico2008-03-061-16/+2
| | | | svn path=/main/trunk/; revision=9447
* Implement the sed-based declare -r filter in python.Zac Medico2008-03-061-0/+13
| | | | svn path=/main/trunk/; revision=9446
* Move the variable name validation regexes (for bug 211949) intoZac Medico2008-03-061-2/+8
| | | | | | filter-bash-environment.py instead of passing them in from bash. svn path=/main/trunk/; revision=9445
* Update the description to reflect the new meaning of PATTERN.Zac Medico2008-03-051-3/+4
| | | | svn path=/main/trunk/; revision=9444
* Pass a space-separated list of variables into filter-bash-environment.py andZac Medico2008-03-051-1/+2
| | | | | | | generate the final regex on the python side instead of in bash. Also, properly anchor the regex so that it actually works. svn path=/main/trunk/; revision=9443
* Fix have_end_quote() to compare the quote against the correct group.Zac Medico2008-03-051-1/+1
| | | | svn path=/main/trunk/; revision=9442
* Handle multi-line quoted variable assignments.Zac Medico2008-03-051-8/+37
| | | | svn path=/main/trunk/; revision=9440
* Update description to reflect the new meaning of the PATTERN argument.Zac Medico2008-03-051-1/+2
| | | | svn path=/main/trunk/; revision=9437
* Implement variable assignment handling in python so that we can eventuallyZac Medico2008-03-051-2/+10
| | | | | | make it more flexible and robust. svn path=/main/trunk/; revision=9436
* Fix func_start_re so that it requires at least one alphanumeric character.Zac Medico2008-03-041-1/+1
| | | | svn path=/main/trunk/; revision=9434
* Tighten the funct_start_re so that it doesn't match leading whitespaceZac Medico2008-03-041-1/+1
| | | | | | since that's not needed. svn path=/main/trunk/; revision=9433
* Add support for idendification of function definitions since it's neededZac Medico2008-03-041-2/+18
| | | | | | | | | | | in some cases in order to prevent some odd function contents from being mistakenly identified as invalid variable assignments. For example, this line from _gcc-specs-directive_raw() is commonly found in environment.bz2 files: $1=="*"directive":" { pspec=spec; spec=""; outside=0; next } svn path=/main/trunk/; revision=9431
* Bug #211949 - As suggested by vapier, tighten the variable filter to alsoZac Medico2008-03-021-0/+1
| | | | | | | exclude variable names that begin with a digit or that contain any non-alphanumeric characters that are not be supported by bash. svn path=/main/trunk/; revision=9416
* Bug #202068 - In order to filter unwanted variable assignments outZac Medico2007-12-131-0/+52
of the bash environment, use a filter-bash-environment.py script that behaves similar to egrep -v except that it leaves bash here- documents intact. svn path=/main/trunk/; revision=8892