Adding support for excluding option when not available according to IEC 61131 standard
Disabling use of complex types (array and structure) for POU interface until matiec can generate code
#!/bin/bash
INKSCAPE=/cygdrive/c/Program\ Files/Inkscape/inkscape.exe
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
echo "$INKSCAPE" `cygpath -w \`pwd\`/icons.svg` -z -e `cygpath -w \`pwd\`/$i.png` -i $i
rm -f $i.png
"$INKSCAPE" `cygpath -w \`pwd\`/icons.svg` -z -e `cygpath -w \`pwd\`/$i.png` -i $i
done