diff --git a/advanced/Scripts/list.sh b/advanced/Scripts/list.sh index 82f11fa7..32e7e877 100755 --- a/advanced/Scripts/list.sh +++ b/advanced/Scripts/list.sh @@ -53,7 +53,7 @@ EOM EscapeRegexp() { # This way we may safely insert an arbitrary # string in our regular expressions - echo $* | sed 's/[]\.|$(){}?+*^]/\\&/g' | sed 's/\//\\\//g' + echo $* | sed "s/[]\\.|$(){}?+*^]/\\\\&/g" } HandleOther(){