From: John Joyce Date: 2007-05-11T13:39:28+09:00 Subject: Re: from REALbasic > Terminal > RUBY ?! On May 11, 2007, at 1:25 PM, Watanabe Carcass wrote: > Pe�a, Botp wrote: >> On Behalf Of Watanabe Carcass: >> # HOW CAN I PASS ARGUMENTS AS A STRING FROM A UNIX TERMINAL INTO A >> RUBY >> # SCRIPT? >> >> this is just one simple stupid example. there are many ways. >> >> root@pc4all:~# uname >> Linux >> >> root@pc4all:~# cat test.rb >> x=gets >> puts "you passed: #{x.upcase}" >> >> root@pc4all:~# echo this is a test | ruby test.rb >> you passed: THIS IS A TEST > > Thanks!! it may be just what I needed. > > -- > Posted via http://www.ruby-forum.com/. > You could also simply create a temp file or some kind of data store to share.