summary refs log tree commit diff
path: root/bitmasks/bsd/Makemask
blob: e5ed661713edf7ca9b4ec93322803d58de118ceb (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
rm -f *.xbm
cp -f ../../bitmaps/bsd/* .
ls *.xbm | sed 's/\(.*\)\.xbm/mv -f & \1_mask.xbm/' | sh
for i in *.xbm ; do
	f=`basename $i .xbm`
	sed 's/unsigned *//' $i | xbmtopbm | pbmmask | pbmtoxbm | sed "s/noname/$f/" > t
	mv -f t $i
done