view move-if-change @ 69052:0c26b31febaf

(Fringe Indicators): New section. Move indicate-empty-lines, indicate-buffer-boundaries, and default-indicate-buffer-boundaries here. Add fringe-indicator-alist and default-fringes-indicator-alist. Add list of logical fringe indicator symbols. Update list of standard bitmap names. (Fringe Cursors): New section. Move overflow-newline-into-fringe here. Add fringe-cursor-alist and default-fringes-cursor-alist. Add list of fringe cursor symbols.
author Kim F. Storm <storm@cua.dk>
date Mon, 20 Feb 2006 22:15:13 +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