Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bhatpp

  1. bhatpp

    printing till blank line

    Actually kevin, the code which u suggested is printing the same sequence repeated number of times.. I also need to check for two conditions, based on which, lines following them has to be printed.. See my initial mail..
  2. bhatpp

    printing till blank line

    OK, I got you.. Yes.. Actually, $len has to have the value of number of lines before the blank line.. Then print that many number of lines.. Can anyone suggest me what I should be doing to print 12-15 lines below a particular pattern.. I mean can anyone give the approach?
  3. bhatpp

    printing till blank line

    Hi All, I am new to perl and facing an interesting situation. There are 2 conditions to be matched in my code. 1. If the first condition is matched, then the 3 lines following that condition should be printed. 2. If the second condition is matched, then the 12-15 lines below that must be...

Part and Inventory Search

Back
Top