in reply to Iterating single line within a For Loop

for(<INFILE>) (note:no capital F), slurps the whole file before starting to iterate. You need to use while(<INFILE>).


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked