Calling bayeselo with parameters
Posted: 05 Oct 2008, 08:50
Most often I use bayeselo to calculate a rating list from a pgn file. If I do it often its a bit annoying to type:
bayeselo
readpgn whatever.pgn
elo
mm
exactdist
ratings
all the time.
It would be comfortable abd faster to write all these commands and parameters in just one line. According to the program help the syntax is
If I use an input file and type: "bayeselo < _file_with_the_commands_" it works fine. The inputfile is read and the commands are executed. But when I try "bayeselo readpgn _whatever_" only bayeselo starts and nothing else happens.
Obviously the second solution is more flexible. Is this just a syntax problem on my side? Does it work in the second way for someone? Can you give an example please?
Volker
bayeselo
readpgn whatever.pgn
elo
mm
exactdist
ratings
all the time.
It would be comfortable abd faster to write all these commands and parameters in just one line. According to the program help the syntax is
_command_ _parameters_ [< _input_] [>[>] _output_] [;_comment_]
If I use an input file and type: "bayeselo < _file_with_the_commands_" it works fine. The inputfile is read and the commands are executed. But when I try "bayeselo readpgn _whatever_" only bayeselo starts and nothing else happens.
Obviously the second solution is more flexible. Is this just a syntax problem on my side? Does it work in the second way for someone? Can you give an example please?
Volker