4 # Shell script that adds a message to all message files (Lem9)
6 # Example: add_message.sh '$strNewMessage' 'new message contents'
10 echo "usage: add_message.sh '\$strNewMessage' 'new message contents'"
17 grep -v '?>' ${file} > ${file}.new
18 echo "$1 = '"$2"'; //to translate" >> ${file}.new
19 echo "?>" >> ${file}.new
24 echo "Message added to all message files (including english)"