view move-if-change @ 37137:b960119b9c18

XEmacs compatibility. Doc fix. (leading-code-private-22): Declare var if it's not declared yet. (charset-bytes, charset-dimension, charset-id, charset-width) (find-charset-region, split-char, char-width, chars-in-region) (forward-point, decompose-composite-char, encode-coding-string) (coding-system-p, ccl-execute-on-string, define-ccl-program): Define funs if not defined yet. (encode-composition-rule, find-composition): Define funs if not loaded yet. (ps-mule-prologue): PostScript code fix. (ps-mule-generate-font): New arg HEADER-P. If it is non-nil, generate font for the header strings. (ps-mule-prepare-font): Likewise. (ps-mule-generate-glyphs): Likewise. (ps-mule-string-encoding): Likewise. (ps-mule-header-charsets): New variable. (ps-mule-encode-header-string): New function. (ps-mule-header-string-charsets): New function. (ps-mule-begin-job): Check charsets in the header strings. If there are non-ASCII and non-Latin1 charsets, prepare fonts for them.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 02 Apr 2001 10:36:32 +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