Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Staying in svrmgrl through a script.

Re: Staying in svrmgrl through a script.

From: Kenneth C Stahl <BlueSax_at_Unforgettable.com>
Date: Thu, 23 Sep 1999 08:24:41 -0400
Message-ID: <37EA1C09.D49CEEF1@Unforgettable.com>


Apparently that link has changed. It is now:

ftp://ftp.nist.gov/mel/div826/subject/expect

Richard Chen wrote:
>
> This is what the program "expect" is designed for.
> The following 4-line script will do what you want.
>
> oracle$ cat ./tmp.exp
> #!/usr/bin/expect
> spawn svrmgrl
> expect "SVRMGR> " {send "connect internal\r"}
> interact
>
> Get expect from
> ftp://ftp.cme.nist.gov/pub/expect
Received on Thu Sep 23 1999 - 07:24:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US