From: Stefan Holst Date: 2005-07-18T20:27:06+09:00 Subject: Re: Reading total lines of file then displaying in reverse? Tristan Knowles wrote: > How would I use File or IO to read all the lines of a > file, then display the contents in reverse? something like this? File.readlines("my.log").reverse.each{|l| puts l} RY Stefan