view move-if-change @ 5165:17fe69fff7fa

Make iso-left-tab equivalent to shift-tab, XFree86 2010-03-23 Aidan Kehoe <kehoea@parhasard.net> * x-win-xfree86.el (x-win-init-xfree86): If iso-left-tab (something ISO-specified and portable in theory; in practice only seen with XFree86 and derived non-US layouts) exists on the keyboard layout, make it equivalent to shift-tab, addressing the issue FKtPp sees in http://mid.gmane.org/1269358206.4873.1.camel@fktpp-laptop .
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 23 Mar 2010 17:36:18 +0000
parents 376386a54a3c
children
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