summaryrefslogtreecommitdiffstats
path: root/bin/filter-bash-environment.py
Commit message (Collapse)AuthorAgeFilesLines
* Sync the fixes for bug #211949 from trunk.Zac Medico2008-03-141-17/+78
| | | | svn path=/main/branches/2.1.2/; revision=9465
* 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. (trunk r9416) svn path=/main/branches/2.1.2/; revision=9417
* * In filter_readonly_variables(), replace 'declare -r ' with 'declare 'Zac Medico2007-12-131-0/+52
instead of removing it completely. * Bug #202068 - In order to filter unwanted variable assignments out 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. * Use the sed -r option to enable extended regular expressions so that commonly used characters like (, ), and + don't have to be escaped. (trunk r8890:8893) svn path=/main/branches/2.1.2/; revision=8899