File: docvt

package info (click to toggle)
xpat2 1.07-19
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,488 kB
  • ctags: 2,559
  • sloc: ansic: 13,770; perl: 3,068; cpp: 2,935; makefile: 192; sh: 33
file content (9 lines) | stat: -rwxr-xr-x 365 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# convert pysol cardimage into xpat2 xpm file
# argument 1 = directory of source file
# argument 2 = card rank
# argument 3 = corresponding xpat name
giftopnm $1/$2c.gif | ppmtoxpm > $3.Clubs.pic.xpm
giftopnm $1/$2s.gif | ppmtoxpm > $3.Spades.pic.xpm
giftopnm $1/$2h.gif | ppmtoxpm > $3.Hearts.pic.xpm
giftopnm $1/$2d.gif | ppmtoxpm > $3.Diamonds.pic.xpm