src/FOLP/change
author paulson
Fri Feb 16 18:00:47 1996 +0100 (1996-02-16)
changeset 1512 ce37c64244c0
parent 0 a5a9c433f639
permissions -rwxr-xr-x
Elimination of fully-functorial style.
Type tactic changed to a type abbrevation (from a datatype).
Constructor tactic and function apply deleted.
clasohm@0
     1
#! /bin/sh
clasohm@0
     2
#
clasohm@0
     3
# Usage:
clasohm@0
     4
#    expandshort FILE1 ... FILEn
clasohm@0
     5
#
clasohm@0
     6
#  leaves previous versions as XXX~~
clasohm@0
     7
#
clasohm@0
     8
for f in $*
clasohm@0
     9
do
clasohm@0
    10
echo Expanding shorthands in $f. \ Backup file is $f~~
clasohm@0
    11
mv $f $f~~; sed -e '
clasohm@0
    12
s/PFOL/FOLP/g
clasohm@0
    13
s/PIFOL/IFOLP/g
clasohm@0
    14
s/pfol/folp/g
clasohm@0
    15
s/pifol/ifolp/g
clasohm@0
    16
' $f~~ > $f
clasohm@0
    17
done
clasohm@0
    18
echo Finished.