Possible Duplicate:
How can I read lines from the end of file in Perl?
First read the last line, and then the last but one, etc. The file is too big to fit into memory.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Reading lines in reverse order:
I misread the question initially and thought you wanted to read backward and forward, in alternating fashion — which seems more interesting. 🙂