Mercurial > hg > xemacs-beta
view move-if-change @ 2576:c4235ee1f733
[xemacs-hg @ 2005-02-09 18:06:33 by aidan]
Fix a comment typo pointed out by Jerry James in
psu0olr8z7.fsf@diannao.ittc.ku.edu .
author | aidan |
---|---|
date | Wed, 09 Feb 2005 18:06:40 +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