src/FOLP/change
author berghofe
Thu, 25 Apr 1996 13:03:57 +0200
changeset 1686 c67d543bc395
parent 0 a5a9c433f639
permissions -rwxr-xr-x
Added functions mk_cntxt_splitthm and inst_split which instantiate the split-rule before it is applied. Inserted some comments.

#! /bin/sh
#
# Usage:
#    expandshort FILE1 ... FILEn
#
#  leaves previous versions as XXX~~
#
for f in $*
do
echo Expanding shorthands in $f. \ Backup file is $f~~
mv $f $f~~; sed -e '
s/PFOL/FOLP/g
s/PIFOL/IFOLP/g
s/pfol/folp/g
s/pifol/ifolp/g
' $f~~ > $f
done
echo Finished.