From: James Edward Gray II Date: 2005-04-04T05:01:35+09:00 Subject: Re: how to read output of shell command to variable? On Apr 3, 2005, at 2:56 PM, Josef 'Jupp' Schugt wrote: > I'd prefer Perl's qx: > > $output = qx{file filename.txt} > > In Ruby that is > > output = x{file filename.txt} I'm pretty sure you meant: output = %x{file filename.txt} :) James Edward Gray II