From: Wes Bailey Date: 2008-01-03T16:48:24+09:00 Subject: Re: Help Please! On Jan 2, 2008, at 11:28 PM, 1up gfx wrote: > I'm new to Ruby, and have basically NO previous coding experience in > any > other language. > > What I'm trying to do is create a program that will run from cmd > prompt, and > let people type in words, or paragraphs etc., and then have those > words etc. > reversed. > > Example: > > This is my sentence => sentence my is This > > Any help with this would be greatly appreciated! ~> ruby -e 'ARGF.each { |l| puts l.split.reverse.join( " " ) }' this is my sentence sentence my is this Its a great answer to your assignment if you can explain what all is happening. Good Luck! Wes