# ntop - Burton M. Strauss III - Dec2004 BEGIN { print "" print "" print "
" print "" print "" print "" print "" print "" while (getline < "version.c" > 0) { if($3 == "version") { gsub(/["; ]/, "", $5) print "" } } print "This is an unsophisticated, automated conversion of the source file, docs/FAQ into html." print "Please report problems to the ntop-dev mailing list." print "But remember, it's not about making it look good, it's about making the content available.
" print "%s %s", w1, $0) pclose="
" next } /^[Aa]\. / { a++ if (pclose != "") { print pclose } w1 = $1 $1 = "" printf("%s %s", w1, $0) pclose="
" next } (substr($0, 1, 3) == " " && substr($0, 4, 1) != " ") { text++ if (pclose == "") { print "" $0 pclose="
" } else { print $0 } next } { pre++ if (pclose != "") { print pclose print ""
pclose=""
}
print $0
next
}
END {
if (pclose != "") { print pclose }
printf("\n\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n" \
"\n",
lines,
allDash,
allEquals,
header,
empty1,
empty2,
section,
q,
a,
text,
pre,
updated,
added,
(allDash + allEquals + header + empty1 + empty2 + section + q + a + text + pre + updated + added))
print ""
print ""
}
#Q. What is ntop?
#A. ntop is an open source network top - the official website can be found at
# http://www.ntop.org/