Mercurial > emacs
view move-if-change @ 42493:84a510bb7ff6
2002-01-03 ShengHuo ZHU <zsh@cs.rochester.edu>
* mm-util.el (mm-charset-to-coding-system): Don't setq charset.
author | ShengHuo ZHU <zsh@cs.rochester.edu> |
---|---|
date | Thu, 03 Jan 2002 06:52:30 +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