view move-if-change @ 29006:bf92db6e609a

(enum iso_code_class_type): Member ISO_control_code is devided into ISO_control_0 and ISO_control_1. (struct coding_system): New members src_multibyte, dst_multibyte, errors, and result. Delete member fake_multibyte. (CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is nonzero. (CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is nonzero.
author Kenichi Handa <handa@m17n.org>
date Fri, 19 May 2000 23:56:15 +0000 (2000-05-19)
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