src/FOLP/change
author paulson
Tue, 05 Nov 1996 11:48:09 +0100
changeset 2161 c25714ca1c19
parent 0 a5a9c433f639
permissions -rwxr-xr-x
Replaced the very slow "find" command by "rm" with wildcards

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