From: Comfort Eagle Date: 2006-11-24T06:06:04+09:00 Subject: unexpected kEND, expecting $ a = IO.readlines('testparsed') a.each do |groupname| filename = groupname.chomp File.open filename puts data end end Why does this give me: "parse error, unexpected kEND, expecting $" for the line with the last 'end'? -- Posted via http://www.ruby-forum.com/.