view move-if-change @ 51191:6a9e67f99d23

(struct buffer): Rename members measured in columns: left_margin_width to left_margin_cols, right_margin_width to right_margin_cols. All uses changed. New members left_fringe_width, right_fringe_width, fringes_outside_margins for per-buffer fringe settings. New members scroll_bar_width and vertical_scroll_bar_type for per-buffer scroll bar settings.
author Kim F. Storm <storm@cua.dk>
date Sat, 24 May 2003 21:55:09 +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