Mercurial > hg > xemacs-beta
view move-if-change @ 519:1c3b60121364
[xemacs-hg @ 2001-05-08 06:00:32 by martinb]
Yoshiaki Kasahara: make-charset doesnt handle short-name properly
author | martinb |
---|---|
date | Tue, 08 May 2001 06:00:34 +0000 |
parents | 376386a54a3c |
children |
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