#!/bin/sh
# Turns a textfile into an html file and sets the proper permissions.
for i in $*; do
fn=/www/data/cu/cssn/`basename $i .txt`.html
# echo $fn
# if test -e $fn ; then
# echo "File already exists:" $fn >&2
# else
/www/data/cu/cssn/code/makehtml.pl $i > $fn
chgrp cssn $fn && chmod 664 $fn
# fi
done