#! /usr/bin/perl $gnohome_internal = "/home/gno/public_html"; $gnohome_external = "http://www.gno.org/gno"; $basedir = "/home/gno/public_html/describe/gen"; $entrydir = "describe/entry"; # relative to $gnohome_* while (<>) { ($name, $classes) = split; $namelist{$name} = $classes; } @keylist = keys(%namelist); @sorted = sort(@keylist); $currentLetter = ''; foreach $f (@sorted) { # create the describe entry open(pp, "/usr/local/bin/describe $f|") || die ("couldn't open pipe to 'describe $f'"); $filename = "$gnohome_internal/$entrydir/$f.html"; open(fp2, "> $filename") || die("couldn't open $filename"); printf(fp2 "\n" . "\n" . "
\n" . "\n"); while($_ =) { printf(fp2 "%s", $_); } printf(fp2 "