view move-if-change @ 110028:2547676f6961

smiley-regexp-alist: Don't delete the semicolon before the blinking smiley by Miles Bader <miles@gnu.org>; Disallow ;;) from being treated as a blink smiley by Simon Josefsson <simon@josefsson.org>. 2009-03-24 Miles Bader <miles@gnu.org> * smiley.el (smiley-regexp-alist): Don't delete the semicolon before the blinking smiley. 2009-03-24 Simon Josefsson <simon@josefsson.org> * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a blink smiley.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Mon, 30 Aug 2010 06:28:53 +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