Mercurial > emacs
view move-if-change @ 55524:2085b7b09cf7
(leim-list.el): Move commands to convert TIT and MISC dictionaries
from here...
(changed.tit, changed.misc): ...to here. Remove the (now unneeded)
test of the contents of changed.* files.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 11 May 2004 08:56:01 +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