aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-12-26 11:09:50 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-12-26 11:09:50 +0000
commit6aaf0c643b585b173f6de4d9eb01bcf08b9aaeb1 (patch)
tree6a26b3da928b569a953b598e10bea48f3c4f7dc5 /tools
parent3fe7c7879fb36cdcad5632fb20f893670db7c88c (diff)
MAJ
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1223 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools')
-rwxr-xr-xtools/translate_V6-3-1_to_V7-017
1 files changed, 15 insertions, 2 deletions
diff --git a/tools/translate_V6-3-1_to_V7-0 b/tools/translate_V6-3-1_to_V7-0
index 4e49a9026..10e7f1403 100755
--- a/tools/translate_V6-3-1_to_V7-0
+++ b/tools/translate_V6-3-1_to_V7-0
@@ -1,8 +1,21 @@
#! /bin/sh
-echo Insertion of a space after a dot not followed by a separator
+echo "This shell script performs the following transformations:"
+echo "- Insertion of a space after a dot not followed by a separator"
+echo "- Insertion of a space between consecutive ~ and < and between"
+echo " consecutive | and < assumed to be part of distinct tokens"
+echo "- Various renamings of commands as described in document Changes.ps"
+
for i in $*
- do sed -e "s/\.\([A-Z]\)/\. \1/g" -e "s/AddPath$i/Add LoadPath/g" > $i.tmp$$
+ do sed -e "s/\.\([A-Z]\)/\. \1/g" -e "s/AddPath/Add LoadPath/g" \
+ -e "s/~</~ </g" -e "s/|</| </g" \
+ -e "s/AddPath/Add LoadPath/g" -e "s/DelPath/Remove LoadPath/g" \
+ -e "s/AddRecPath/Add Rec LoadPath/g" \
+ -e "s/Implicit *Arguments *On/Set Implicit Arguments/g" \
+ -e "s/Implicit *Arguments *Off/Unset Implicit Arguments/g" \
+ -e "s/Begin *Silent/Set Silent/g" -e "s/End *Silent/Unset Silent/g" \
+ -e "s/Print *Path/Print Coercion Paths/g" \
+ $i > $i.tmp$$
if diff $i.tmp$$ $i > /dev/null
then
rm $i.tmp$$