Mercurial > emacs
view move-if-change @ 96444:7830512d2616
(gdb-create-source-file-list): New option.
(gdb-init-2): Use it. Don't run gdb-mode-hook again.
(gdb-var-list-children-regexp, gdb-var-update-regexp)
(gdb-info-breakpoints-custom, gdb-stack-list-frames-regexp)
(gdb-var-list-children-regexp-1, gdb-var-update-regexp-1)
(gdb-stack-list-locals-regexp): Future proof regexps better.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 01 Jul 2008 01:57:50 +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