Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2011 15:52:10 +0200
From:      Johan van Selst <johans@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/games/gnuchess Makefile distinfo ports/games/gnuchess/files patch-book.h ports/games/gnuchess/scripts create_opening_book.pl create_opening_book.sh
Message-ID:  <20110623135209.GA57073@mud.stack.nl>
In-Reply-To: <20110623125434.GA90101@FreeBSD.org>
References:  <201106111656.p5BGu1fM056439@repoman.freebsd.org> <20110623125434.GA90101@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.


Ciao,
Johan

--huq684BweRXVnRxX
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iF4EAREIAAYFAk4DRQgACgkQAEpMHW8nCPQq2gD+OgnOEVIxLjNJRdwvr9ki8AZG
NAw5liIt1huKgXmcB1wBAK0ytNil6sHV+UqO0h+qPNsgxRC0Ez7rkA5abDAh8sa7
=eHeJ
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110623135209.GA57073>