#!/bin/sh
if [ -f $1 ] 
then
  if [ -d $2 ] 
  then
    for FILE in `ls $2`
       do
	  cat $1 $2/$FILE >> tmp 
	  cat tmp | col -b > $2/$FILE
	  rm tmp -f
       done
  else
    echo "*** Error: $2 is not a directory or no such directory !!"
  fi
else
  echo "*** Error: No $1 file!!"
fi
