if the program need two input files

Cian Cullinan cian.cullinan at gmail.com
Sat Jun 4 12:52:31 UTC 2005


See the man page for "expect" , from the introduction:

       Expect is a program that "talks" to other interactive programs accord-
       ing to a script.  Following the  script,  Expect  knows  what  can  be
       expected  from  a program and what the correct response should be.  An
       interpreted language provides branching and high-level control  struc-
       tures  to direct the dialogue.  In addition, the user can take control
       and interact directly when desired, afterward returning control to the
       script.

Cian




More information about the redhat-list mailing list