view move-if-change @ 63463:ad343539d42b

Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-421 Tweak which-func face 2005-06-15 Miles Bader <miles@gnu.org> * lisp/progmodes/which-func.el (which-func): Only inherit `font-lock-function-name-face' when that makes sense against the default mode-line face, otherwise set the face color explicitly.
author Miles Bader <miles@gnu.org>
date Wed, 15 Jun 2005 04:35:23 +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