Mercurial > emacs
view move-if-change @ 80837:6b8593097d76
Merge from emacs--rel--22: lisp/dired-x.el: Revert 2007-04-06 change.
Patches applied:
* emacs--rel--22 (patch 4-5)
- Update from CVS
2007-05-01 Romain Francoise <romain@orebokech.com>
* lisp/dired-x.el: Revert 2007-04-06 change.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-723
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 01 May 2007 09:55:06 +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