From: Padraig Brady (padraig.brady at domain corvil.com)
Date: Wed 25 Sep 2002 - 15:56:02 IST
Stephen Shirley wrote:
> On Wed, Sep 25, 2002 at 02:31:44PM +0100, Padraig Brady wrote:
>>The disadvantage is that you create a new file even if there are no changes.
> Hmm. Is that really such a big disadvantage?
Well you would loose your [cm]time which are useful
in a lot of contexts.
>>You could do a diff before the mv to get around this like.
> Umm, i'm unsure what you mean here. Do a diff against what?
filter > /tmp/file.new < file
if diff -q file /tmp/file.new; then
mv /tmp/file.new file
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:19:04 GMT