view move-if-change @ 66262:c3855d669e33

* textmodes/org.el (org-combined-agenda-icalendar-file) (org-icalendar-include-todo, org-icalendar-combined-name): New options. (org-export-icalendar-this-file) (org-export-icalendar-all-agenda-files) (org-export-icalendar-combine-agenda-files): New commands. (org-export-icalendar, org-print-icalendar-entries) (org-start-icalendar-file, org-finish-icalendar-file) (org-ical-ts-to-string): New functions. (org-read-date, org-goto-calendar) (org-agenda-goto-calendar): Inhibit displaying diary entries by call to `calendar'. (orgtbl-setup): Removed the :keys arguments from the menu description. (org-after-save-iCalendar-file-hook): New variable.
author Carsten Dominik <dominik@science.uva.nl>
date Fri, 21 Oct 2005 05:55:05 +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