src/FOLP/change
author wenzelm
Sat, 01 Jul 2000 19:42:25 +0200
changeset 9218 fdecb23119c0
parent 0 a5a9c433f639
permissions -rwxr-xr-x
removed help;

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