how to store expect output in a variable?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iask
    New Member
    • Apr 2007
    • 2

    how to store expect output in a variable?

    Hi, I am a rookie to learn Tcl/Expect,I want to know how to store a expect output in a variable?
    when I using the command "send ",then maybe many output,I don't want just expect one all some stataments but want to store all the output,then do some other operation,who can help me?

    Thank you!!!!
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    I am not very familiar with tcl or expect. But what have you tried so far? Have you sarched CPAN for tcl/expect modules or other documentation?

    Comment

    Working...