[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Bug-gnubg] batch import for gnu-bg (windows version)
From: |
Ian Shaw |
Subject: |
RE: [Bug-gnubg] batch import for gnu-bg (windows version) |
Date: |
Mon, 28 Apr 2003 12:30:36 +0100 |
As far as I know, GnuBg doesn't yet import and export files as a batch.
You can run a series of commands from a text file with the command "load
command myfile". No $ or other marker is required.
I have written DOS batch files to analyse matches in one directory and save the
results in another. See this post
http://mail.gnu.org/archive/html/bug-gnubg/2003-01/msg00496.html
Hope this helps with what you are trying to do.
--Ian
-----Original Message-----
From: address@hidden [mailto:address@hidden Behalf Of Yoav Shnel
Sent: 28 April 2003 11:42
To: address@hidden
Subject: [Bug-gnubg] batch import for gnu-bg (windows version)
Hello.
I have just downloaded and installed gnubg-0.13.0 for Windows. I am trying to
use the batch import option available in the command line version to no avail.
I tried with this batch file:
$set matchid MAEKAAAAAAAA
$set board HdsOwADUPYMBBg
$play
$save game output.txt
(tried with and without the $ signs), using both \r\n and \r only as line
endings.
When I tried without the dollar signs I got the following message:
input.txt: parse error, expecting '$' or 'error' or ''(''
input.txt: warning: no backgammon games in SGF file.
Subsequently I added the S signs on the beginning of every line and got the
following message:
input.txt: illegal character in SGF file
imput.txt: warning: no backgammon games in SGF file
I don't know if this is a bug or if I'm doing something wrong.
I await your response. Thanks in advance,
Yoav