Try 'man autoexpect'. I haven't used it, but the man page says:

<QUOTE>
autoexpect  -  generate  an  Expect script from watching a session

SYNOPSIS
       autoexpect [ args ] [ program args...  ]

INTRODUCTION
       autoexpect watches you interacting  with  another  program
       and creates an Expect script that reproduces your interac-
       tions.  For straightline scripts,  autoexpect  saves  sub-
       stantial  time  over writing scripts by hand.
</QUOTE>

Also you can visit the expect home page : 

The Expect home page is: http://expect.nist.gov
The Expect FAQ is:       http://expect.nist.gov/FAQ.html


Sreeji

On Tue, 5 Dec 2000, Sukrit K Mehra wrote:

> Hello List
> 
> Could somebody point me to a decent document on the web where I can learn
> expect programming. The basics only - Just login into root running a bash script
> and logging out when its done. 
> 
> TIA
> Sukrit
> 
> -- 
> ---------------------------------------------------------------------
> Life is a bitch and then you die.
> ---------------------------------------------------------------------
> 
> ----------------------------------------------
> LIH is all for free speech.  But it was created
> for a purpose.  Violations of the rules of
> this list will result in stern action.
> 


----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to