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


Here's my attempt, with an argument:
   test1.rb im123000-im123006

I get:
   im123000-im123006

I want:
   im123000..im123006

Thanks,
Peter

-- 
Posted via http://www.ruby-forum.com/.