Subject: Re: [PATCH] Warnings before rebasing -i published history

From: Tomas Carnecky <[email-masked]>
Date: Fri, 08 Jun 2012 09:18:44 +0000

On Fri, 08 Jun 2012 10:52:04 +0200, Matthieu Moy <[email-masked]> wrote:
> Isn't a more conventional way to do that
> 
> sed -e '...' "$1" >"$1".new
> mv "$1".new "$1"
> 
> ?

Is sed -i not portable or what is the reason not to use it?