log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
emacs
annotate move-if-change @ 60124:
106946a8423d
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
(gdb-set-gud-minor-mode-existing-buffers) (gdb-find-file-hook): Add server prefix.
author
Nick Roberts <nickrob@snap.net.nz>
date
Wed, 16 Feb 2005 20:23:16 +0000 (2005-02-16)
parents
354e0c45cedf
children
14a97ab281d5
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
25856
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
1
#!/bin/sh
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
2
if
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
3
test -r $2
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
4
then
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
5
if
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
6
cmp $1 $2 > /dev/null
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
7
then
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
8
echo $2 is unchanged
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
9
rm -f $1
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
10
else
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
11
mv -f $1 $2
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
12
fi
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
13
else
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
14
mv -f $1 $2
354e0c45cedf
#
Dave Love <fx@gnu.org>
parents:
diff
changeset
+
��膩��鰹申鐃順�渇����紮�鐃醇�鐃緒申鐃緒申����鐃初��膩��鰹申鐃順�渇��膩���
15
fi