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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
How to ignore --MORE--


New User

Feb 11, 2015, 10:42 PM

Post #1 of 2 (4014 views)
How to ignore --MORE-- Can't Post

Hi Dear friends,

We've a script that connect to device with telnet and runs set of commands, these commands return long data and need press enter with prompting --MORE-- on screen.

we need to get all output to a text file with ignoring

We need to press enter when see the --MORE-- row,and remove --MORE-- when put it into txt file.

is it possible?

thanks for your help.

Veteran / Moderator

Feb 12, 2015, 12:23 AM

Post #2 of 2 (4011 views)
Re: [oguzhantepe] How to ignore --MORE-- [In reply to] Can't Post

Take a look at the expect module on the CPAN. It should do what you need.


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

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