view move-if-change @ 43711:d15360503e4e

(face-spec-choose): Allow `t' to appear before the end. (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic) (bold-italic, underline, highlight, secondary-selection, fixed-pitch) (variable-pitch, trailing-whitespace): Don't use the old-style entries. (mode-line-inactive, header-line): Move the `t' section to the beginning so the `:inherit' setting can be shared.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 04 Mar 2002 23:00:28 +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