Skip to content

Commit

Permalink
more or less ready state
Browse files Browse the repository at this point in the history
  • Loading branch information
vlion committed Mar 5, 2011
1 parent 12c530f commit cd24289
Show file tree
Hide file tree
Showing 4 changed files with 485 additions and 931 deletions.
12 changes: 10 additions & 2 deletions emit-html.pl
@@ -1,15 +1,23 @@
open( my $fh, "<", "quicklisp_documentation.txt") or die($!);
use strict;
use warnings;

my $fh;

open( $fh, "<", "quicklisp_documentation.txt") or die($!);
my @arr = <$fh>;
close $fh;

open( $fh, ">", "quicklisp_documentation.html") or die($!);
# Add in some better html conformance
print $fh "<table width=1>";
print $fh "<html>";
print $fh "<body>";
print $fh "<table border=1>";
foreach my $line (@arr)
{
my ($name, $packages, $desc) = split(/%%/, $line);
print $fh "<tr><td> $name </td><td> $desc </td></tr>\n";
}
print $fh "</table>\n";
print $fh "<body>";
close $fh;

0 comments on commit cd24289

Please sign in to comment.