1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00
FBReaderJ/scripts/resources/update.sh
2013-03-09 04:26:21 +04:00

16 lines
287 B
Bash
Executable file

#!/bin/sh
if [ "$1" == "" ]; then
part=application
else
part=$1
fi
for file in ../../assets/resources/$part/*.xml; do
xsltproc clean.xslt $file > `basename $file`;
egrep "[^%]%[^%s01]" $file
done
for file in *.xml; do
diff $file en.xml > `basename $file .xml`.diff;
done
rm *.xml