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: Intermediate:
How to ignore --MORE--

 



oguzhantepe
New User

Feb 11, 2015, 10:42 PM

Post #1 of 2 (3484 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
--MORE--

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.


Laurent_R
Veteran / Moderator

Feb 12, 2015, 12:23 AM

Post #2 of 2 (3481 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