aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
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$$