Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Can I Read a Text File From the Bottom Up?

(image) Hey, Scripting Guy! I have a log file in which new data is appended to the bottom of the file; that means the most recent entries are at the end of the file. I’d like to be able to read the file starting with the last line and then ending with the first line, but I can’t figure out how to do that.-- MB, Milwaukee, WI (...