#! /bin/sh

# Find the shapes associated with all test output.

PROG=cpsa4shapes

for i in *.txt
do
  if echo $i | grep -v shapes > /dev/null
  then
    o=`basename $i .txt`_shapes.txt
    echo $PROG -o $o $i
    $PROG -o $o $i
  fi
done
