mirror of https://github.com/patacrep/patacrep.git
crep
14 years ago
committed by
Alexandre Dupas
1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||
#!/bin/sh |
|||
echo "Choose langage: 1 (english), 2 (french), 3 (spanish)" |
|||
for song in songs/*/*.sg; do |
|||
echo "Apply language to $song ?" |
|||
read answer |
|||
case "$answer" in |
|||
1) |
|||
sed -i '1i\\\\selectlanguage{english}' $song |
|||
;; |
|||
2) |
|||
sed -i '1i\\\\selectlanguage{french}' $song |
|||
;; |
|||
3) |
|||
sed -i '1i\\\\selectlanguage{spanish}' $song |
|||
;; |
|||
esac |
|||
done; |
Loading…
Reference in new issue