version 1.1, 2001/02/25 15:01:40
|
version 1.3.2.3, 2001/09/21 05:47:58
|
|
|
# | # |
# GAWK Program to extract all of the @name entities from | # GAWK Program to extract all of the @name entities from |
# the document and |
# the document and create a table of contents page. |
|
# This file analyzes all of the files pointed to by the top |
|
# level file in the document structure. |
# | # |
BEGIN { | BEGIN { |
level = 0 | level = 0 |
|
|
print "<html>" | print "<html>" |
print "<head>" | print "<head>" |
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">" | print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">" |
print "<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 4.0\">" |
|
print "<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">" |
|
print "<title>PegasusDocumentTOC</title>" | print "<title>PegasusDocumentTOC</title>" |
print "<base target=\"main\">" | print "<base target=\"main\">" |
print "</head>" | print "</head>" |
print "<body bgcolor=\"#FF9966\">" | print "<body bgcolor=\"#FF9966\">" |
|
print "<p align=\"center\"><img border=\"0\" src=\"/pegasus/images/pegicon2.gif\" width=\"100\" height=\"100\"></p>" |
print "<p> </p>" | print "<p> </p>" |
print "<p><b><font size=\"5\">Contents</font></b></p>" | print "<p><b><font size=\"5\">Contents</font></b></p>" |
print "<TABLE>" | print "<TABLE>" |
|
|
nft = "" | nft = "" |
} | } |
print "<TR><TD VALIGN=TOP>" | print "<TR><TD VALIGN=TOP>" |
print "<IMG ALT=""o"" BORDER=0 SRC=icon1.gif>" ist(lvl[x])" <A NAME=" nme[x] "></A>" |
print ist(lvl[x])"<IMG ALT=\"o\" BORDER=0 SRC=icon1.gif>" " <A NAME=" nme[x] "></A>" |
print "<A HREF=" nme[x] ".html><B>" ft flnme[x] nft " </B></A></TD><TD><BR>" | print "<A HREF=" nme[x] ".html><B>" ft flnme[x] nft " </B></A></TD><TD><BR>" |
print "</TD></TR>" | print "</TD></TR>" |
print | print |