2003-07-08 16:43:30 +00:00
|
|
|
#!/usr/bin/perl
|
2004-02-01 20:03:26 +00:00
|
|
|
##
|
2007-12-28 01:47:25 +00:00
|
|
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
|
|
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
2004-02-01 20:03:26 +00:00
|
|
|
##
|
|
|
|
## This program is distributed under the terms and conditions of the GNU
|
|
|
|
## General Public License Version 2 as published by the Free Software
|
|
|
|
## Foundation or, at your option, any later version.
|
2003-07-08 16:43:30 +00:00
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
do 'bin/make.pl';
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
my @extlist = ();
|
|
|
|
my %extensions = ();
|
|
|
|
my $group = "";
|
|
|
|
my $cur_group = "";
|
|
|
|
|
|
|
|
if (@ARGV)
|
|
|
|
{
|
|
|
|
@extlist = @ARGV;
|
2007-03-03 05:25:52 +00:00
|
|
|
my $n = 1;
|
|
|
|
print "<table border=\"0\" width=\"100%\" cellpadding=\"1\" cellspacing=\"0\" align=\"center\">\n";
|
2004-12-31 08:50:04 +00:00
|
|
|
foreach my $ext (sort @extlist)
|
|
|
|
{
|
2017-01-08 01:51:09 +00:00
|
|
|
my ($extname, $exturl, $extstring, $reuse, $types, $tokens, $functions, $exacts) = parse_ext($ext);
|
2004-12-31 08:50:04 +00:00
|
|
|
$cur_group = $extname;
|
|
|
|
$cur_group =~ s/^(?:W?)GL(?:X?)_([A-Z0-9]+?)_.*$/$1/;
|
|
|
|
$extname =~ s/^(?:W?)GL(?:X?)_(.*)$/$1/;
|
|
|
|
if ($cur_group ne $group)
|
|
|
|
{
|
2005-01-03 07:05:38 +00:00
|
|
|
if ($group ne "")
|
|
|
|
{
|
2007-03-03 05:25:52 +00:00
|
|
|
print "<tr><td><br></td><td></td><td></td></tr>\n";
|
2005-01-03 07:05:38 +00:00
|
|
|
}
|
2004-12-31 08:50:04 +00:00
|
|
|
$group = $cur_group;
|
|
|
|
}
|
2007-03-03 05:25:52 +00:00
|
|
|
|
2004-12-31 08:50:04 +00:00
|
|
|
{
|
2007-03-03 05:25:52 +00:00
|
|
|
if ($exturl)
|
|
|
|
{
|
|
|
|
print "<tr><td class=\"num\">$n</td><td> </td><td><a href=\"$exturl\">$extname</a></td></tr>\n";
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
print "<tr><td class=\"num\">$n</td><td> </td><td>$extname</td></tr>\n";
|
|
|
|
}
|
|
|
|
$n++;
|
2004-12-31 08:50:04 +00:00
|
|
|
}
|
|
|
|
}
|
2007-03-03 05:25:52 +00:00
|
|
|
print "</table>\n"
|
2003-07-08 16:43:30 +00:00
|
|
|
}
|