in reply to printing up until a certain line within a file

++ for a nice clear question with the right amount of code.

And a ++ for the oneliner solution..neat and to the point :)

"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!
  • Comment on Re: printing up until a certain line within a file