You're viewing a comment by James and its responses.

James Permalink
July 31, 2009, 22:29

@Peteris - thanks for the great article! I enjoyed reading it. I saw examples #12 and #13, but I noticed that they do not print out the line numbers. Instead they simply number the lines that matched. So, let's say that the 5th instance of a match in the file exists on line 52. Examples #12 and #13 will print out "5" for the number instead of "52". That's why I added the additional example in the comments here to print out the actual line number of the matching lines.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "lcd_150": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.