Subject: Pipe shell output to ruby -e?
From: x1 <caldridge@ a . m
Date: Sun, 22 Oct 2006 16:16:52 +0900
I know this has been done before but search yields nothing :-\
Just wondering how you can pipe output to ruby -e? I tried this but
it doesnt work :-(
#### borked
echo "hello" |ruby -e 'puts ARGV.to_s'
Thanks for any help you may be able to offer.