summaryrefslogtreecommitdiffstats
path: root/bin/filter-bash-environment.py
Commit message (Collapse)AuthorAgeFilesLines
* 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