cvs commit: ports/games/gnuchess Makefile distinfo ports/games/gnuchess/files patch-book.h ports/games/gnuchess/scripts

Johan van Selst johans at
Thu Jun 23 14:10:15 UTC 2011

Alexey Dokuchaev wrote:
> On Sat, Jun 11, 2011 at 04:56:01PM +0000, Johan van Selst wrote:
> >   - Replace opening book creating script
> Perhaps you could give us some hint on why perl script is better that
> shell one?

The program that is used by this script has changed. In the old version,
commands could be scripted (pipelined), but the new version is
interactive and executes commands in separate threads. The last command
('quit') can not be issued until the program has stated that it has
finished the previous command. Issuing the 'quit' command earlier will
abort the operation before the 'opening book' is generated.

I'm not a perl fan: if you know of a convenient way to handle this in
a simple shell script, then I'd be happy to revert this change.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the cvs-all mailing list