#! /bin/sh
#
# This shell-script converts GCal files to MML format. The gcal file is edited
# by sed and then has the appropriate MML headers added
# to it. The resultant file produced is called <file>.mml.
#
# The files used by GCaltoMML and their function are described below:
#
#	$FMHOME/bin/GCaldir/sedfile
#         - the sed script that changes .<command> Gcal mark-up codes
#           to <command> MML mark-up codes.
#	$FMHOME/bin/GCaldir/MMLFormats.mml
#          - the MML template file. This defines a simple A4 format template.
#            Sometime, I will produce an MML template that describes our style.
#	$FMHOME/bin/GCaldir/MMLheader
#         - the standard MML header file which is inserted at the top of the edited
#           file. It contains an include statement for MMLFormats.mml.
#
#
#					Jim Fallon 6/7/90
for i
do
(cat $FMHOME/bin/GCaldir/MMLheader; sed -f $FMHOME/bin/GCaldir/sedfile $i) > $i.mml
done
