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