3 for size in 129 116 108 95 87 80 72 64 58 54 49 45 40 37 33 29 25 21 ; do
7 for piece in p r n b q k ; do
11 convert -pen green -draw 'color 0,0 floodfill' \
12 XBM:${piece}${size}o.bm tmp.xpm
13 sed < tmp.xpm > $size/$name.xpm -f convbm.sed -e s/magick/$name/
15 name=${piece}ll${size}
17 convert -pen gray -draw 'color 0,0 floodfill' \
18 XBM:${piece}${size}o.bm tmp.xpm
19 sed < tmp.xpm > $size/$name.xpm -f convbm.sed -e s/magick/$name/
21 name=${piece}dd${size}
23 convert -pen green -draw 'color 0,0 floodfill' \
24 XBM:${piece}${size}s.bm tmp.xpm
25 sed < tmp.xpm > $size/$name.xpm -f convbm.sed -e s/magick/$name/
27 name=${piece}dl${size}
29 convert -pen gray -draw 'color 0,0 floodfill' \
30 XBM:${piece}${size}s.bm tmp.xpm
31 sed < tmp.xpm > $size/$name.xpm -f convbm.sed -e s/magick/$name/