#! /bin/sh

gzip -cd $5 | sed 's/#.*$//' \
| grep '^0x1' \
| grep '^.' | awk '{print $1, $2 }' \
| sort | ./mkcscv -c $1 $2 $3 $4 > $6
exit 0
