Mercurial > hg > xemacs-beta
view move-if-change @ 1157:6af03f821bbe
[xemacs-hg @ 2002-12-13 04:29:06 by andyp]
static heap fiuxups
| author | andyp |
|---|---|
| date | Fri, 13 Dec 2002 04:30:18 +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
