perl doesn't actually edit the file in place, it just automates the tmp file
handling.

On Mar 22, 2011, at 1:10 AM, Bret Lambert <[email protected]> wrote:

> On Mon, Mar 21, 2011 at 9:45 PM, William Boshuck <[email protected]>
wrote:
>> On Mon, Mar 21, 2011 at 01:18:41PM -0500, Chris Bennett wrote:
>>
>>> OpenBSD's form of sed requires you to output to a new file and
>>> mv that back to original.
>>
>> .. or one could use ed, or perl, to change a file in place.
>
> What happens if ed, or perl, corrupts a system file in place?
>
>>
>> -wb

Reply via email to