CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions:
Need help in Expect Module

 



zaheer
New User

Jan 17, 2011, 10:16 PM

Post #1 of 1 (1644 views)
Need help in Expect Module Can't Post

Hi,
I am trying to automate a cli application that has multiline output. I want to be able to grep for this multi line output as single string using Expect module and send some keys as input.

The cli would be something like

bash-3.00# /opt/myapp/bin/app register

1) someservername(1)
2) someoptionalserver(2)
Select destination server or enter full URL for alternate server [somedefaultserver(3)]:

How can I do this using Expect?

Thanks in advance..

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives