view move-if-change @ 107045:435c323b6002

Change default XFT font to 10pt, and default frame height to 35 rows (Bug#3643). * frame.c (DEFAULT_ROWS): Change default to 35. * xfns.c (x_default_font_parameter): Change default XFT font to monospace-10 (Bug#3643).
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 29 Jan 2010 14:02:02 -0500
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