From: EB Date: 2006-10-22T22:10:12+09:00 Subject: Re: Pipe shell output to ruby -e? x1 wrote: > 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' echo "hello" | xargs ruby -e 'puts ARGV.to_s' will also work. Cheers, eb > > > Thanks for any help you may be able to offer. >