Debian Codegraph @

images/TranscriptionImages/degimpify

raw
1 #!/bin/bash
2 # Run this script to take an xpm generated by the gimp and format it for
3 # use Audacity
4 for arg in $@
5 do
6 filename=$(tempfile)
7 cat $arg| sed -e 's/\_xpm\[\]/\[\]/' -e 's/^static char \*/static const char \*/' > $filename
8 mv $filename $arg
9
10 done