xtitle=`pwd | cut -d\/ -f10-40 | sed "s/\// /g"` tree -f | \ grep -v tmp | \ grep -v linklist.sh | \ grep -v "^[0-9]" > tmp.out grep -v "^\.$" tmp.out | \ sed "s/\-\- \.\//\-\- <a href=\"/g" | \ sed '/[a-zA-Z]$/s/$/\">/' > tmp2.out tree | sed "s/\.html//" | \ grep -v tmp | \ grep -v linklist.sh | \ grep -v "^[0-9]" > tmp3.out grep -v "^\.$" tmp3.out | \ sed "s/|--//g" | \ sed "s/\`--//g" | \ sed "s/ //g" | \ sed "s/|-\.//g" | \ sed "s/|//g" | \ sed "s/$/<\/a>/g" > tmp4.out echo "<html>" > tree.html echo "<head><title>$xtitle</title>" >> tree.html echo "<meta content=text/css http-equiv=Content-Style-Type>" >> tree.html echo "<link href=\"http://www.setgetweb.com/black.css\" rel=stylesheet type=text/css>" >> tree.html echo "</head>" >> tree.html echo "<body>" >> tree.html echo "<font class=grey2>" >> tree.html echo "<blockquote>" >> tree.html echo "<blockquote>" >> tree.html echo "<p>&nbsp;</p>" >> tree.html echo "<center> " >> tree.html echo "<h2> $xtitle</h2> " >> tree.html echo "<p>&nbsp;</p>" >> tree.html echo "<FORM METHOD=get ACTION=\"/cgi-bin/search_cbo.cgi\">" >> tree.html echo " <INPUT TYPE=\"text\" NAME=\"terms\">" >> tree.html echo " <INPUT TYPE=\"submit\" value=\"Search CBO\">" >> tree.html echo "</FORM>" >> tree.html echo "</center> " >> tree.html echo "<p>&nbsp;</p>" >> tree.html echo "<p><hr>" >> tree.html echo "<pre>" >> tree.html paste -d"\0" tmp2.out tmp4.out >> tree.html echo "</pre>" >> tree.html echo "<center> " >> tree.html echo "<p><hr>" >> tree.html echo "<p>&nbsp;</p>" >> tree.html echo "<p>&nbsp;</p>" >> tree.html echo "<script javascript=\"JavaScript\"> " >> tree.html echo " document.write(\"<br>Last updated: \"+document.lastModified); " >> tree.html echo "</script> " >> tree.html echo "</blockquote>" >> tree.html echo "</blockquote>" >> tree.html echo "</body>" >> tree.html echo "</html>" >> tree.html