lpcmanager
Clone
Summary
Browse
Changes
Graph
Variable Options : fix parsing again (bug was because of saving corrupted data) and fix generator so that it is more compatible with legacy code.
som6
2020-11-13, Edouard Tisserant
ec35885da216
file is
Executable
Variable Options : fix parsing again (bug was because of saving corrupted data) and fix generator so that it is more compatible with legacy code.
#!/bin/sh
INKSCAPE=inkscape
for fname in `ls *.svg`; do
for i in `cat $fname |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt $fname ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" $fname -z -e $i.png -i $i
"$INKSCAPE" $fname -z -e $i.png -i $i
fi
done
done