Updated README: Equal sign not required with `--mode` flag.
[sgk-go] / regression / test.sh
CommitLineData
7eeb782e
AT
1#!/bin/sh
2
3GNUGO=../interface/gnugo
4
5gtpfile=$1
6options=$2 # May be omitted
7options2=$3 # May be omitted FIXME: Do multiple options nicer.
8
9$GNUGO --quiet $options $options2 --mode gtp <$gtpfile | egrep '^[=?][0-9]+' | cut -c 2-