Mercurial > emacs
view move-if-change @ 28927:a06e82e2ffc8
(get_boot_time): To obtain an 8 char file name, which
is needed on mescaline, use a 2 char prefix, and call
make_temp_name with second arg non-zero.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 16 May 2000 11:14:18 +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