Mercurial > emacs
view move-if-change @ 32989:74484f2d629a
2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* mailcap.el (mailcap-parse-mailcaps): Don't use parse-colon-path,
because they are files, not paths.
(mailcap-parse-mimetypes): Ditto.
(mailcap-mime-types): Use mailcap-mime-data.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 27 Oct 2000 22:46:05 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
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