Images/genicons_lx.sh
author laurent
Fri, 18 Nov 2011 17:37:43 +0100
changeset 589 e3a1d9a59c97
parent 196 54f5020531f6
permissions -rw-r--r--
Fixing bug that calls text styling in a loop while some highlighting is defined
#!/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