On 11/23/06, Comfort Eagle <steve / fooworks.com> wrote:
> a = IO.readlines('testparsed')
>
> a.each do |groupname|
>   filename = groupname.chomp
-   File.open filename
+   File.open filename do |file|
-     puts data
+     file.puts data # if writing to file is what want to do
>   end
> end