#! /usr/local/bin/perl
$thesize = 0;
print STDOUT "
\n";
open(HELPFILE, "testbed.help");
while () {
if (/^\#|^(\w)*$/) { # do nothing
}
else {
( $textvalue, $thevalue ) = split( ':', $_ );
( $thevalue ) = split( '#', $thevalue);
$newsize = length($textvalue);
$thesize = ( $thesize > $newsize ) ? $thesize : $newsize ;
$testbed{$textvalue} = $thevalue;
push(@keylist, $textvalue);
}
}
close(HELPFILE);
foreach $key (@keylist) {
print STDOUT "- $key";
print STDOUT "
- $testbed{$key}
\n";
}
print STDOUT "
\n";