@@ -177,7 +177,7 @@ function virtualenvwrapper_derive_workon_home {
177177 # path might contain stuff to expand.
178178 # (it might be possible to do this in shell, but I don't know a
179179 # cross-shell-safe way of doing it -wolever)
180- if echo " $workon_home_dir " | (unset GREP_OPTIONS; command \e grep ' ([\$~]|//)' > /dev/null)
180+ if echo " $workon_home_dir " | (unset GREP_OPTIONS; command \g rep -E ' ([\$~]|//)' > /dev/null)
181181 then
182182 # This will normalize the path by:
183183 # - Removing extra slashes (e.g., when TMPDIR ends in a slash)
@@ -599,7 +599,7 @@ function virtualenvwrapper_show_workon_options {
599599 | command \s ed " s|/$VIRTUALENVWRAPPER_ENV_BIN_DIR /activate |/|g" \
600600 | command \t r " /" " \n" \
601601 | command \s ed " /^\s*$/d" \
602- | (unset GREP_OPTIONS; command \e grep -v ' ^\*$' ) 2> /dev/null
602+ | (unset GREP_OPTIONS; command \g rep -E -v ' ^\*$' ) 2> /dev/null
603603}
604604
605605function _lsvirtualenv_usage {
@@ -1306,7 +1306,7 @@ function wipeenv {
13061306 virtualenvwrapper_verify_active_environment || return 1
13071307
13081308 typeset req_file=" $( virtualenvwrapper_tempfile " requirements.txt" ) "
1309- pip freeze | egrep -v ' (distribute|wsgiref|appdirs|packaging|pyparsing|six)' > " $req_file "
1309+ pip freeze | grep -E -v ' (distribute|wsgiref|appdirs|packaging|pyparsing|six)' > " $req_file "
13101310 if [ -n " $( cat " $req_file " ) " ]
13111311 then
13121312 echo " Uninstalling packages:"
0 commit comments