From: James Coglan Date: 2008-08-22T02:07:32+09:00 Subject: Re: Lower verbosity in IRB? ------=_Part_66143_29989525.1219338604122 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > > logfile=File.open("backup_08192008.log"){|f| f.read()} > > Normally, its fine that irb will barf out the contents of the file to > screen. Normally it's even useful.... You need to get the statement to evaluate to something short, preferably nil. (log = File.read('backup_08192008.log')) && nil Then irb will print nil but log will still contain the data. James http://blog.jcoglan.com http://github.com/jcoglan ------=_Part_66143_29989525.1219338604122--