src/FOLP/change
author nipkow
Mon, 06 Aug 2001 13:43:24 +0200
changeset 11464 ddea204de5bc
parent 0 a5a9c433f639
permissions -rwxr-xr-x
turned translation for 1::nat into def. introduced 1' and replaced most occurrences of 1 by 1'.

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