summaryrefslogtreecommitdiffstats
path: root/bin/filter-bash-environment.py
Commit message (Collapse)AuthorAgeFilesLines
* Bug #222091 - Filter out any instances of the \1 character from variableZac Medico2008-10-061-79/+17
| | | | | | | | | values since this character multiplies each time that the environment is saved (strange bash behavior). This can eventually result in mysterious 'Argument list too long' errors from programs that have huge strings of \1 characters in their environment. (trunk r11485) svn path=/main/branches/2.1.4/; revision=11639
* 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