# dir2html.sh by Michael Temari 03/03/96
#
#!/bin/sh
if test $Argc != 0
{
cd $1
}
setglobal dname = $[pwd]
setglobal fdname = $2
if test $dname != /
{
setglobal dname = "$(dname)/"
}
echo ""
echo "
"
echo Directory of $fdname
echo ""
echo ""
echo Directory of $fdname
echo "
"
echo "
"
#
ls $dname |
do {
while read fname
{
setglobal lname = "$fdname$fname"
echo ""
}
}
echo "
"
echo ""
echo Directory Generated at $[date]
echo "
"
echo ""
exit 0