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.
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.