#!/bin/sh
echo "Stripping CRs from skins files..."
for X in `ls skins.*`
   do
   echo -n " $X"
   sed 's/
//g' $X > tempfile 
   mv tempfile $X
   done
echo

echo "Stripping CRs from message & map files..."
for X in maplist.txt help.txt motd.txt
   do
   echo -n " $X"
   sed 's/
//g' $X > tempfile 
   mv tempfile $X
   done
echo
   
echo "Stripping CRs from entity files..."
cd ent
for X in `ls *.ent`
   do
   echo -n " $X"
   sed 's/
//g' $X > tempfile
   mv tempfile $X
   done
cd ..
echo
echo "Done.  If you didn't see any error messages, then everything"
echo "probably worked.  Note that the process may have changed the"
echo "permissions on some of your files- Usually 644, depending on"
echo "your umask setting. You might check these, especially if you"
echo "are running your server under a different user."
echo "If it didn't work, make sure you ran this from your /lmctf "
echo "directory." 

