Mercurial > emacs
view move-if-change @ 43783:284b3c395ed4
Use new string macros.
(update_echo_area): Pass number of bytes to message3 instead of
number of chars.
(set_message_1): Don't access a string's size_byte directly.
(decode_mode_spec_coding): Use number of bytes of eoltype string
instead number of chars.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 08 Mar 2002 11:03:53 +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