#!/bin/csh
foreach i ( $* )
set x=`echo $i | sed 's/$/.bk/'`
echo $x
mv $i $x
cat $x|sed "s/new WSDappDev/WSGIappDev/" | \
sed "s/static VALUE mMpfc/VALUE mMpfc/" | \
sed "s/new WSDmouse/WSGIappMouse/" | \
sed "s/_init    boot_mpfc/_init    boot_mpfc_perl/" | \
sed -f cn.scr | \
sed -f cn2.scr | \
sed -f cn3.scr | \
sed "s/->init/->initialize/g" >! $i
rm -f $x
end
