src/FOLP/change
author paulson
Wed, 25 Sep 1996 15:03:13 +0200
changeset 2025 9acc10ac1e1d
parent 0 a5a9c433f639
permissions -rwxr-xr-x
Prevention of Overflow exception (for SML/NJ) in gensym

#! /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.