aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* filter-bash-environment.py: move imports to topZac Medico2011-07-121-5/+7
|
* Fix another 'varable' typo.Arfrever Frehtes Taifersar Arahesis2010-05-021-1/+1
|
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Bug #302937 - Handle declare -r without assignment.Zac Medico2010-01-311-12/+29
| | | | svn path=/main/trunk/; revision=15304
* Fix python shebangs. s:/usr/bin/env python:/usr/bin/python:Zac Medico2009-10-111-1/+1
| | | | svn path=/main/trunk/; revision=14573
* Avoid unicode errors in python 3. Thanks to Arfrever for reporting.Zac Medico2009-09-241-0/+8
| | | | svn path=/main/trunk/; revision=14400
* Fix typo in comment. Thanks to Arfrever.Zac Medico2009-08-091-2/+2
| | | | svn path=/main/trunk/; revision=13963
* Bug #280690 - Fix incorrect idendification of start quote as end quote whenZac Medico2009-08-091-1/+6
| | | | | | the start quote is immediately followed by a newline. svn path=/main/trunk/; revision=13959
* Bug #222091 - Filter out any instances of the \1 character from variableZac Medico2008-09-011-2/+7
| | | | | | | | | 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. svn path=/main/trunk/; revision=11485
* 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