view move-if-change @ 92993:61c2483cb400

(calendar-mark-complex): Autoload it. (mark-hebrew-calendar-date-pattern): Add optional argument `color'. Use calendar-mark-complex. (calendar-absolute-from-hebrew, hebrew-calendar-yahrzeit) (insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry) (insert-yearly-hebrew-diary-entry): Use let rather than let*. (calendar-hebrew-prompt-for-date): New function. (calendar-goto-hebrew-date): Use calendar-hebrew-prompt-for-date. (holiday-tisha-b-av-etc): Use unless, let.
author Glenn Morris <rgm@gnu.org>
date Sun, 16 Mar 2008 01:25:11 +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