view move-if-change @ 38475:916f157c7118

(ignore-key, sun-esc-bracket, meta-flag): Remove. (sun-raw-prefix): Replace t3, t4, t6, and t7 with f3, f4, f6 and f7. Complete bindings for F<1..12> keys. (global-map): Remove `undo' binding (already in the default). Replace `t<n>' bindings with `f<n>' bindings.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 17 Jul 2001 18:37:47 +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