in reply to Re^3: Read the last line in a text file
in thread Read the last line in a text file

While it does read the entire file, and while it keeps an index of every line in memory, it doesn't keep the entire file in memory.
  • Comment on Re^4: Read the last line in a text file