In the version I now have in feisty, -E no longer causes a problem.

However, you can cause problems with GREP_OPTIONS="-P" which causes
the "egrep -q" commands to always return true.

In addition, using something like GREP_OPTIONS="--color=always" can
also mess up anything that needs to parse the output of grep.

May I suggest that all init.d scripts start with 'unset GREP_OPTIONS'?
Or maybe put it in /lib/lsb/init-functions?

Ciao!

-- 
GREP_OPTIONS is evil
https://bugs.launchpad.net/bugs/75031
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to