I really appreciate all of the help. I have been searching the O'Reilly books for some of the basics I must have missed, but no where can I find a reference to my problem. The code presented here has been a great help in finding the first line I am searching. However, I am not sure that I am making my clear. I do need to find the line, but it is the NEXT LINE I need to print. THEN I need to SKIP 2 Lines and print the third. It is the skipping lines part that I am having problems doing. It seems logical that calling the <FILE>; on a line would read in the next line, but it does not appear to work. If this is still not clear, please let me know. I do not want to waste anyone's time. I can be email privately at mikev@beverlycorp.com Thanks

In reply to Re: Re3: Finding and extracting lines of text by mikevanhoff
in thread Finding and extracting lines of text by mikevanhoff

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.