lpcmanager
Clone
Summary
Browse
Changes
Graph
Added support for connecting LHC1-type devices on RS-485 bus when using LHC1_GOT_002.
py2compat
8 months ago, Tomaz Orac
0a26440852a3
file is
Executable
Added support for connecting LHC1-type devices on RS-485 bus when using LHC1_GOT_002.
#!/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