Mercurial > hg > xemacs-beta
view move-if-change @ 770:336a418893b5
[xemacs-hg @ 2002-03-08 13:33:12 by adrian]
file-name-all-completions vs. completion-ignored-extensions <s5tzo2u3vsx.fsf@goedel1.math.washington.edu>
| author | adrian |
|---|---|
| date | Fri, 08 Mar 2002 13:33: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
