Expect notes
From Federal Burro of Information
Jump to navigationJump to search
timing stuff in expect:
#!/usr/bin/expect set timeout 60 set now [clock seconds] puts "some\n"; puts "some\n"; puts "some\n"; puts "some\n"; puts "some\n"; set later [clock seconds] puts "[expr {$later - $now}]"