I suppose his lines could all be the same length, or he might have been using the term "line" loosely.
bhaskar, are your lines/records all the same length? If so, your could calculate the position to which to seek using a simple multiplication.
In reply to Re^7: Read Some lines in Tera byte file
by ikegami
in thread Read Some lines in Tera byte file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |