view move-if-change @ 50124:d4f965eb8fd5

(outline-mode-menu-bar-map): Add entries. (outline-mode-prefix-map): Match new bindings to those of allout. (outline-map-region): New fun. (outline-map-tree): Remove. (outline-promote, outline-demote): Apply to region if active. Change the default to apply to the subtree. (outline-move-subtree-up, outline-move-subtree-down): New funs. (outline-invisible-p): Add optional `pos' argument. (outline-next-visible-heading, outline-toggle-children): Use it. (outline-get-next-sibling): Don't call outline-level at eob.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 13 Mar 2003 18:15:07 +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