File: test.sh

package info (click to toggle)
gnugo-dv 3.1.27-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,724 kB
  • ctags: 3,307
  • sloc: ansic: 46,051; perl: 1,303; sh: 710; makefile: 578; tcl: 401; lisp: 193
file content (9 lines) | stat: -rwxr-xr-x 241 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh

GNUGO=../interface/gnugo

gtpfile=$1
options=$2   # May be omitted
options2=$3  # May be omitted  FIXME POST3.0: Do multiple options nicer.

$GNUGO --quiet $options $options2 --mode gtp <$gtpfile | egrep '^[=?][0-9]+' | cut -c 2-