Mercurial > hg > xemacs-beta
view move-if-change @ 616:4f1c7a4ac1e6
[xemacs-hg @ 2001-06-11 07:47:11 by martinb]
Revert to doing type-checking in DFC_* macros
author | martinb |
---|---|
date | Mon, 11 Jun 2001 07:47:20 +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