in reply to Read specific line(s)

Perhaps something using seek and tell would be helpful. You might want to use the file location (from tell) instead (or in addition to) the line number.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: Read specific line(s)
by perlaintdead (Scribe) on Dec 12, 2013 at 13:56 UTC

    Hmmm. Yes but i will have to make changes to the index as well as my approach. It's probably worth it tho. Thanks