summary refs log tree commit diff
path: root/bitmasks/bsd/Makemask
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@gmail.com>2020-05-19 21:54:39 -0700
committerIrene Knapp <ireneista@gmail.com>2020-05-19 21:54:39 -0700
commit3ec84b5f7c7cdc50fa1c75cf838bbb982acc4349 (patch)
treef2b1c92fe2177d8e7b8ee3c96d6314c4f6600a3a /bitmasks/bsd/Makemask
Import oneko-1.2.sakura.5 unchanged, from 1999. upstream
Diffstat (limited to 'bitmasks/bsd/Makemask')
-rwxr-xr-xbitmasks/bsd/Makemask9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitmasks/bsd/Makemask b/bitmasks/bsd/Makemask
new file mode 100755
index 0000000..e5ed661
--- /dev/null
+++ b/bitmasks/bsd/Makemask
@@ -0,0 +1,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