Hi Thank you for the very useful tips. i would love to show/explain the algorithm to you.
1.open a text file 2.if the text file contains alphabets then create a (test1.txt) file w +ith the name and telnet to the devices(34.56.67.78) mentioned under t +he test1 and execute the commands and store command output in the sam +e test1.txt file and telnet to device2(65.45.76.343)and run the same +commands.and if found next text (peak) then create peak.txt and so on... test1 34.56.67.78 65.45.76.343 peak 34.56.56.45 23.65.766.76 sdsd 45.65.76.56 343.45.45.453 435.65.67.878

In reply to Re^2: text parsing by Anonymous Monk
in thread text parsing by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.