CfgUSBLoader/Languages/msgreplace.sh
2015-01-17 10:11:08 +00:00

12 lines
170 B
Bash

#!/bin/sh
if [ $# != 3 ]; then
echo "usage: $0 msgid_text search replace"
exit
fi
for L in *.lang ; do
echo $L
./msgreplace.pl "$@" < $L > $L.new
mv $L.new $L
done