Mercurial > emacs
view move-if-change @ 69133:1c9e76acce59
(Common requests): Move `Turning on auto-fill by
default' after `Wrapping words automatically'. Move `Working with
unprintable characters' before `Searching for/replacing newlines'.
Move `Replacing highlighted text' after `Highlighting a region'.
Merge `Repeating commands' and `Repeating a command as many times
as possible' into the former.
(Packages that do not come with Emacs): Add refs to Gmane and etc/MORE.STUFF.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 23 Feb 2006 23:14:58 +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