From b447304434744c22c59494ca11a7da47650fe228 Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Mon, 1 Nov 2010 00:21:05 +0100 Subject: [PATCH] Further correction of the language depend typo corrector --- utils/typo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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