view move-if-change @ 50545:f1c99baf3a4f

2003-04-11 Masatake YAMATO <jet@gyve.org> * progmodes/etags.el (select-tags-table-mode-map): Don't create new keymap. Instead copy from button-buffer-map. Bind push-button to `t' instead of binding select-tags-table-select directly * (tags-select-tags-table): New button. * progmodes/etags.el (select-tags-table): Put a button for each selections.
author Masatake YAMATO <jet@gyve.org>
date Fri, 11 Apr 2003 09:08:29 +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