Gennady Bystritsky wrote in post #1127842:
> ......
>
> %x[ csh -c 'source test.csh; env' ].lines.each do |_line|
>    ENV.store *_line.chomp.split('=', 2)
> end

Hi Gennady,

May I ask one more question, how to understand the star(*) in 
*_line.chomp.split('=', 2)?

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