in reply to Re: Reading in N lines at a time
in thread Reading in N lines at a time

Hey, thanks for making time to point this out to me. I find it very helpful. Yeah, the live data doesn't contain leading digits; I intentionally put them there, in order to make my test print statements a bit easier to read.

Replies are listed 'Best First'.
Re: Re: Re: Reading in N lines at a time
by Ven'Tatsu (Deacon) on Aug 16, 2001 at 00:06 UTC
    You might consider using $. instead of the leading didget. It will give you the line number of the last line read without the need to alter the way your script parses it's input when you are done debuging.