Mercurial > hg > xemacs-beta
view move-if-change @ 2511:b9a1074dc6bf
[xemacs-hg @ 2005-01-26 09:57:14 by ben]
Sync newcomment in FSF 21.3
newcomment.el: Sync to FSF 21.3.
author | ben |
---|---|
date | Wed, 26 Jan 2005 09:57:14 +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