From: ChrisH Date: 2006-11-30T02:28:40+09:00 Subject: Re: Need a range, but not getting it. . . . Peter Bailey wrote: > Hello, > I'm going nuts with the simplest stuff here. I just want to take in > array data and make it into a range. > > Here's my test script, called test1.rb: > files = [ARGV] > files.to_s.gsub!(/\-/, "..") > puts files ... You need files = ARGV[0].dup ARGV is the array of paramaters [ARGV] is an array with a single element which is also an array Cheers