Simon Strandgaard wrote:

> On 11/29/06, Peter Bailey <pbailey / bna.com> wrote:
> [snip]
>> I get:
>>    im123000-im123006
>>
>> I want:
>>    im123000..im123006
> 
> 
> puts ARGV.to_s.gsub(/\-/, '..')

Not if there is more than one command-line argument. In such a case,
"ARGV.to_s" collapses multiple arguments into one continuous string.

-- 
Paul Lutus
http://www.arachnoid.com