Images/genicons_lx.sh
author laurent
Wed, 12 Oct 2011 23:47:48 +0200
changeset 576 3f2024f30553
parent 196 54f5020531f6
permissions -rw-r--r--
Adding support for searching pattern in datatype elements
#!/bin/bash

INKSCAPE=inkscape

for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` 
do
 echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
 rm  -f $i.png
 "$INKSCAPE" icons.svg -z -e $i.png -i $i
done