From: matz@... (Yukihiro Matsumoto) Date: 2000-10-10T14:24:28+09:00 Subject: [ruby-talk:5365] Re: Allowing *ary's in the middle of a camma separated list Hi, In message "[ruby-talk:5364] Allowing *ary's in the middle of a camma separated list" on 00/10/10, "Akinori MUSHA" writes: |I was writing some script and wanted to do the following thing, but it |didn't work as Ruby's current grammar doesn't allow *ary in the middle |of a camma separated list: | | options = ['-b', '-d', '-u'] | system 'rcsdiff', *options, "-r#{revold}", "-r#{revnew}", "#{root}/#{file},v" How about this? system 'rcsdiff', *(options+["-r#{revold}", "-r#{revnew}", "#{root}/#{file},v"]) matz.