Browse Source

Further correction of the language depend typo corrector

remotes/origin/translate_notes
Alexandre Dupas 14 years ago
parent
commit
174ad074f9
  1. 6
      utils/typo.sh

6
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

Loading…
Cancel
Save