diff --git a/utils/typo.sh b/utils/typo.sh index b0e3728f..72a5f701 100755 --- a/utils/typo.sh +++ b/utils/typo.sh @@ -10,9 +10,9 @@ for song in $@; do if grep -q "selectlanguage{english}" $song then sed -i \ - -e 's/[\s]*?/?/g' \ - -e 's/[\s]*!/!/g' \ - -e 's/[\s]*:/:/g' \ + -e 's/\s*?/?/g' \ + -e 's/\s*!/!/g' \ + -e 's/\s*:/:/g' \ $song; elif grep -q "selectlanguage{french}" $song then