makeTestBooke.sh
author Jim Hague <jim.hague@acm.org>
Fri, 20 Sep 2019 10:54:17 +0100
changeset 1002 19c737d183ac
parent 13 232a778181e3
permissions -rwxr-xr-x
Small correction in B part, and correct the part repeats.
0
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     1
#!/bin/sh
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     2
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     3
if [ $# != 1 ]; then
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     4
    echo "Usage: make.sh <book dir name>"
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     5
    exit 1
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     6
fi
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     7
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     8
booke=$1
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
     9
215b3a1aa761 Beginnings.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
    10
find $booke -name "*.abc" | sort | xargs abcm2ps -F dottes.fmt -O $booke.ps