view move-if-change @ 35301:6cb4bc361bf8

(insert_left_trunc_glyphs): Overwrite padding glyphs by truncation glyphs. (display_line): Optimize for wide characters. (display_string): Don't try to display a multi-column charaters partially. On ttys, produce more than one truncation glyph for multi-column characters that don't fit on the line.
author Kenichi Handa <handa@m17n.org>
date Mon, 15 Jan 2001 04:32:52 +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