From: Logan Capaldo Date: 2006-04-07T03:18:12+09:00 Subject: Re: HOWTO Use Veriables inside of Regexp and Commands? On Apr 5, 2006, at 10:04 PM, Karl Bennett wrote: > Awesome thanks to you both :) > > Craig your answer is exactly what I was looking for :) > > And thanks to you Keith I have another very interesting class to > look at > ;) > > -- > Posted via http://www.ruby-forum.com/. > Note that puts `command` is sort of redundant, if you don' want to store the results in the string system("command") will send the output to the standard output, without allocating a big string. Other methods you may want to look into are IO.popen .