view move-if-change @ 69496:497e12ffa068

(extend_face_to_end_of_line): Always add space glyph to empty row. Fixes memory corruption revealed by 2006-03-02 change. (display_tool_bar_line): Skip empty tool-bar line if HEIGHT < 0. (tool_bar_lines_needed): Fix tool-bar display in case the tool-bar width is exactly the same as the window width. Don't count a final empty tool-bar line (pass HEIGHT = -1 to display_tool_bar_line).
author Kim F. Storm <storm@cua.dk>
date Wed, 15 Mar 2006 19:02:14 +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