[ List Archives Home ] [ Thread index for 2008 ] [ Date index for 2008 ] [ Author index for 2008 ]


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
We are experimenting with using expect to automate Create Lists. The
script stops at the point where the review file is found and the command
sends out string0. Expect does not seem to be able to interpret the file
number and simply stops.

...
expect "\ Set Range:"
send "\\"
expect "Search records contained in another review file?"
send "y"
expect "Choose one <1-240,F,B,Q>"
send "f"
expect -re "(.*(08\[0-2])|07\[8-9]) > jennifer/closed stacks\n"
send $expect_out(0,string)
...
send "S"
expect "What name would you like to give this file of records?"
sleep 5
...


Does anyone has any idea of how to resolve this problem? Any help is
much appreciated. Thank you.

Regards
YOW, Wei Chui (Ms)
National University of Singapore Libraries