K
Kyle Schmitt
OK, this is probably a very basic question, but how do ou go about
lowering the verbosity of irb?
For instance, if you wanted to read in a decent sized log file to scan
it for anomalies, you may do something like this:
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....
In this case however, it's really really bad. The log file I'm
looking at is about 84 megs.
Thanks,
Kyle
lowering the verbosity of irb?
For instance, if you wanted to read in a decent sized log file to scan
it for anomalies, you may do something like this:
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....
In this case however, it's really really bad. The log file I'm
looking at is about 84 megs.
Thanks,
Kyle