expect script eco code example
Example: function in expect script
proc do_something { a b c } {
puts "You should buy some $a, $b, and $c!\n"
}
proc do_something { a b c } {
puts "You should buy some $a, $b, and $c!\n"
}