bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] Add new option --in-place


From: Pádraig Brady
Subject: Re: [PATCH] Add new option --in-place
Date: Mon, 22 Mar 2010 12:41:37 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 22/03/10 10:37, Pádraig Brady wrote:
> On 22/03/10 03:26, Pádraig Brady wrote:
>> Right. So the logic would be something like:
> 
> Here is a tested `replace` script which is backwards
> compatible (non atomically) with older coreutils.

Grr, there is a replace util that comes with mysql-server :(
http://manpages.ubuntu.com/manpages/dapper/en/man1/replace.1.html

So that probably means we need to go with a different name.
`inplace` is the next best one I can think of which
at least mirrors the well known sed --in-place and perl -i options.

Also as Jim previously mentioned, the script would benefit from
passing --backup onto cp/mv.

cheers,
Pádraig.




reply via email to

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