PDA

View Full Version : shell script implements gnuchess



schnuser
January 2nd, 2009, 11:07 PM
Hello
I want to write a shell script that has as input variable a chess position and stores all possible moves from this position in a file. gnuchess offers the commands "load" and "show moves" resp. for this purpose. How can i put those commands from a shell script to the gnuchess commandline?
I am a newbi as you might have noticed.

Thanks