From: Matthieu Moy Date: Fri, 08 Jun 2012 09:23:42 GMT Subject: Re: [PATCH] Warnings before rebasing -i published history Message-ID: In-Reply-To: <1339147124-ner-3533@calvin> Tomas Carnecky writes: > On Fri, 08 Jun 2012 10:52:04 +0200, Matthieu Moy wrote: >> Isn't a more conventional way to do that >> >> sed -e '...' "$1" >"$1".new >> mv "$1".new "$1" >> >> ? > > Is sed -i not portable ... It's a GNU extension, yes. -- Matthieu Moy http://www-verimag.imag.fr/~moy/