bug-coreutils
[Top][All Lists]
Advanced

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

bug#12366: [gnu-prog-discuss] Writing unwritable files


From: Paul Eggert
Subject: bug#12366: [gnu-prog-discuss] Writing unwritable files
Date: Thu, 06 Sep 2012 10:23:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0

On 09/06/2012 10:12 AM, Bob Proulx wrote:
> The file replacement is atomic.  The reading of the file is not.

Sure, but the point is that from the end user's
point of view, 'sed -i' is not atomic, and can't
be expected to be atomic.

'sed -i' and 'sort -o' both use some atomic operations
internally, but neither is atomic overall.  Users who
want atomicity must look elsewhere, or implement it
themselves.





reply via email to

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