Mercurial > hg > xemacs-beta
view move-if-change @ 3423:ac11131c6de9
[xemacs-hg @ 2006-05-24 16:30:28 by james]
Don't use C99/C++ variable declaration style. <86zmhiax0m.fsf@santinel.home.ua>
author | james |
---|---|
date | Wed, 24 May 2006 16:30:32 +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