proc CVS_info {} {
regexp {[0-9]+\.[0-9]+\.[0-9]+} "[exec cvs --version]" version
- add_toc2 "CVS"
tputs "<table border=\"0\">"
tputs " <tr>"
tputs " <th>"
proc Git_info {} {
regexp {[0-9]+\.[0-9]+\.[0-9]+} "[exec git --version]" version
- add_toc2 "Git"
tputs "<table border=\"0\">"
tputs " <tr>"
tputs " <th>"
proc Subversion_info {} {
regexp {[0-9]+\.[0-9]+\.[0-9]+} "[exec svn --version]" version
- add_toc2 "Subversion"
tputs "<table border=\"0\">"
tputs " <tr>"
tputs " <th>"
tputs "</table>"
add_toc "Components"
loop_components {
+ add_toc2 "${name} (${genre} component)"
if { [llength [info procs "${name}_info"]] > 0 } {
${name}_info
}