No, I'm saying that that is one of the nice features of ruby.
in python, you have to do something like:
python -c "import os; print os.popen('echo "Hello from the shell"').read()"
On 11/6/06, James Edward Gray II james@grayproductions.net wrote:
On Nov 6, 2006, at 1:38 PM, Alex Ross wrote:
also, you can just `echo 'write shell commands'` and get strings back.
Are you saying you don't know how to do this in Ruby?
$ ruby -e 'p `echo "Hello from the shell!"`' "Hello from the shell!\n"
James Edward Gray II
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate