[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] twogtp reporting script

From: Denis Dupeyron
Subject: [gnugo-devel] twogtp reporting script
Date: Tue, 17 Dec 2002 17:44:47 +0100

While I'm on the subject, I wrote a small bash script to grep results and
count victories for each side. It comes in handy when you run lots of
matches and, like me, you are not sure you can still count up to 100.
Nothing spectacular but it works.

#! /bin/bash
grep RE *.sgf
echo -n 'White '
grep RE *.sgf | grep -c W+
echo -n 'Black '
grep RE *.sgf | grep -c B+

That's it. Feel free to do whatever you want with it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]