Mercurial > emacs
view move-if-change @ 65449:d3d35c792c79
(time-stamp, time-stamp-line-limit, time-stamp-start, time-stamp-end):
Mention variable time-stamp-pattern in doc string.
(time-stamp-pattern): Update doc string.
(time-stamp-string-preprocess): new (as yet undocumented)
time-stamp-format escapes %Q and %q (fully-qualified domain name
and unqualified host name).
author | Stephen Gildea <gildea@stop.mail-abuse.org> |
---|---|
date | Mon, 12 Sep 2005 01:05:55 +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