From: Joel VanderWerf Date: 2009-08-11T04:10:43+09:00 Subject: Re: Reading contents of a file and storing Harry Kakueki wrote: > h = Hash[*(shellwords(source.gsub("="," ")))] source.gsub(/^([^=]+)=/) {$1} in case there is another = char on the line. Nice to know about shellwords for this purpose, thanks! -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407