Irish Songbook
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
375 B

#!/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;