Mercurial > emacs
view move-if-change @ 62930:79a7e032005c
(Notations Used in This Manual): Use @kbd for key sequence.
(Demonstration of Calc): Mention another way of starting Calc.
(Starting Calc): Mention long name of M-#.
(Embedded Mode Overview): Remove unnecessary instruction.
(Other M-# commands): Rephrase `M-# 0' explanation.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Tue, 31 May 2005 16:35: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