[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Keep executability of config.status-ed files

From: Eric Sunshine
Subject: Re: [patch] Keep executability of config.status-ed files
Date: Wed, 10 Dec 2003 13:03:29 -0500
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624

Akim Demaille wrote:
How about cp FILE and then perform the transformation from's contents to (>) FILE?

This will not work correctly on Windows. At best, it will throw an error because FILE is locked (being read by sed) while the > is trying to open it for writing. At worst, you will simply lose the contents of FILE (for the same reason). In my experiments, the latter occurred.

-- ES

reply via email to

[Prev in Thread] Current Thread [Next in Thread]