author | sandnerr |
Fri, 13 Dec 1996 12:01:26 +0100 | |
changeset 2380 | 90280b3a538b |
parent 818 | 0b9ec0374bfd |
permissions | -rwxr-xr-x |
9
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
1 |
#! /bin/sh |
818 | 2 |
# $Id$ |
3 |
#Assists in converting uses of the old simplifier (Isabelle-92 and earlier) |
|
4 |
#Usage: |
|
5 |
# change_simp FILE1 ... FILEn |
|
9
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
6 |
# |
818 | 7 |
#Renames old versions of the files as FILE1~~ ... FILEn~~ |
9
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
8 |
# |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
9 |
for f in $* |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
10 |
do |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
11 |
echo $f. \ Backup file is $f~~ |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
12 |
mv $f $f~~; sed -e ' |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
13 |
s/\<ASM_SIMP_TAC\>/asm_simp_tac/g |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
14 |
s/\<SIMP_TAC\>/simp_tac/g |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
15 |
s/\<addrews\>/addsimps/g |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
16 |
s/addsplits \(\[[^]]*\]\)/setloop (split_tac \1)/g |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
17 |
s/addsplits/setloop split_tac/g |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
18 |
s/\<setauto\>/setsolver/g |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
19 |
' $f~~ > $f |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
20 |
done |
c1795fac88c3
make-all now has set +e so that New Jersey runs will continue even if some
lcp
parents:
diff
changeset
|
21 |
echo Finished. |