URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [insight/] [expect/] [example/] [timed-read] - Rev 1778
Go to most recent revision | Compare with Previous | Blame | View Log
#!../expect -f
# read a complete line from stdin
# aborting after the number of seconds (given as an argument)
# - Don Libes
set timeout $argv
expect -re \n {send_user $expect_out(buffer)}
Go to most recent revision | Compare with Previous | Blame | View Log