#!/bin/csh -f

echo "\begin{verbatim}" >! polyarea.tex
sed -e 's/	/        /g' polyarea.c >> polyarea.tex
echo "\end{verbatim}" >> polyarea.tex


echo "\begin{verbatim}" >! polygons.tex
sed -e 's/	/        /g' polygons.c >> polygons.tex
echo "\end{verbatim}" >> polygons.tex


echo "\begin{verbatim}" >! transfrm.tex
sed -e 's/	/        /g' transfrm.c >> transfrm.tex
echo "\end{verbatim}" >> transfrm.tex


echo "\begin{verbatim}" >! lst_sqrs.tex
sed -e 's/	/        /g' lst_sqrs.c >> lst_sqrs.tex
echo "\end{verbatim}" >> lst_sqrs.tex
