view move-if-change @ 55388:7df6b4d2d69d

2004-05-06 Romain Francoise <romain@orebokech.com> (tiny change) * ibuffer.el (ibuffer-redisplay-engine): Do not remove folded filter groups from the buffer when rebuilding the Ibuffer buffer and `ibuffer-show-empty-filter-groups' is nil.
author John Paul Wallington <jpw@pobox.com>
date Thu, 06 May 2004 07:23:55 +0000
parents 354e0c45cedf
children 14a97ab281d5
line wrap: on
line source

#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi