2
# $Id: add_message.sh 9537 2006-10-12 16:27:13Z nijel $
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
20
echo "$1 = '"$2"';" >> ${file}.new
23
echo "$1 = '"$2"'; //to translate" >> ${file}.new
26
echo "?>" >> ${file}.new
30
./sort_lang.sh english*
32
echo "Message added to all message files (including english)"