From: Robert Klemme Date: 2012-07-14T04:55:54+09:00 Subject: Re: How to save an irb session including the command output to a file On Fri, Jul 13, 2012 at 9:24 PM, Brian Candler wrote: > script mylog.txt > irb >>> do stuff >>> ^D > exit As far as I can see that will save meta characters (escape sequences for color control etc.) as well - similarly to the variant with tee. Solution for that would be to use strings to extract only readable characters from the log. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/