in reply to
Re^4: Read Some lines in Tera byte file
in thread Read Some lines in Tera byte file
Perl has seek as a builtin. It's not gonna help solve the question you asked us, though.
It might if he's forgotten to mention that his records are fixed length.
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.
A Programming Language, 1962
Programming the 1900 series in COBOL, 1974
Algorithms + Data Structures = Programs, 1976
The C Programming Language, 1978
System V - Interface definition, 1986
Z80 Assembly Language Programming, 1979
TheSOURCE User's Manual, 1979
The C Primer, 1983
Interactive Fortran 77, A Hands on Approach, 1984
Perl.1 man page, 1991
Results (352 votes),