repo.or.cz
/
maxima.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Regenerate all examples via update_examples.
[maxima.git]
/
archive
/
bin
/
move-if-change
blob
8f351ca19b039a135864fd3d8566a08687919adb
1
if
2
test -r $2
3
then
4
if
5
cmp $1 $2 > /dev/null
6
then
7
echo $2 is unchanged
8
rm $1
9
else
10
mv $1 $2
11
fi
12
else
13
mv $1 $2
14
fi