From: nobu.nokada@... Date: 2002-05-13T23:30:24+09:00 Subject: Re: Inline editing (non-command line) Hi, At Mon, 13 May 2002 22:37:50 +0900, Berger, Daniel wrote: > I'm looking for a way to modify a file inline without using a temp file. I > want to do this within code, not on the command line (and no, I'm not > interested in 'system' calls either). You mean -i option by `on the command line'? If so, ruby recognize options in shebang line. Or you can set $-i special variable to specify inplace editing suffix. -- Nobu Nakada