Mercurial > emacs
view move-if-change @ 55430:8a3af63fa397
2004-05-08 John Wiegley <johnw@newartisans.com>
* eshell/em-glob.el (eshell-glob-initialize): Move initialization
of `eshell-glob-chars-regexp' into `eshell-glob-regexp', so that
function can be used outside of eshell buffers.
(eshell-glob-regexp): Initialize `eshell-glob-chars-regexp' here.
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Sat, 08 May 2004 12:39: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