From: James Edward Gray II Date: 2007-01-17T02:29:53+09:00 Subject: Re: Simple editing. Works in IRB; not as script. On Jan 16, 2007, at 11:24 AM, Peter Bailey wrote: > contents = File.read{"test1.txt"} That's a typo. You want (...) instead of {...}. James Edward Gray II