From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H0oJJ-0003TJ-Bo for garchives@archives.gentoo.org; Sun, 31 Dec 2006 00:12:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBV07jni001537; Sun, 31 Dec 2006 00:07:45 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBV03f8n027361 for ; Sun, 31 Dec 2006 00:03:41 GMT Received: by nf-out-0910.google.com with SMTP id c31so9856197nfb for ; Sat, 30 Dec 2006 16:03:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nMHaiic09Dhz+4debedY0bmd3GJ2AM3tX4v00LFPoW5V1mhhCVTzVvS87tW9K3Lxy4rC6Gkw9VsziOV9j6we7k103Eo1Z0gx9QqOXzmcSUF9Fs6PBbPjBK1cmUJrqVtlAI+zVqnwk8VPK7PTuuCiat+Zz7GJsMpEOrLanKYVbZg= Received: by 10.82.113.6 with SMTP id l6mr3294375buc.1167523421769; Sat, 30 Dec 2006 16:03:41 -0800 (PST) Received: by 10.82.172.11 with HTTP; Sat, 30 Dec 2006 16:03:41 -0800 (PST) Message-ID: <9acccfe50612301603k15644cu3b2a7777ad975b30@mail.gmail.com> Date: Sat, 30 Dec 2006 16:03:41 -0800 From: "Kevin O'Gorman" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Documentation Index Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 5548fdd4-97e6-49cd-899d-f5ccbfcba4d2 X-Archives-Hash: a1b28198d2044c534741f6cd6df5046d There's a lot of HTML documentation on my computer, but it's wonderfully hard to find and use compared to man pages because it's not indexed. So I started building a Perl script to create a top-level HTML index page automatically from the .html files it finds lying around. I started with just the contents of /usr/share/doc. Before I go too much farther, I thought I'd ask if anyone knows of an existing product (that is surely more refined than this little starter gizmo I've got so frar) that does the same or similar thing? If not, are there any other places where generally useful HTML might be hiding? ++ kevin PS: the script so far: #!/usr/bin/perl -w chdir "/usr/share/doc" or die "Cannot cd to /usr/share/doc: $!"; open FIND, "find . -name index.html |sort|" or die "Cannot fork: $!"; print "Index of /usr/share/doc index files\n"; print "\n"; print "\n"; print "\n"; print "

Index of /usr/share/doc index files

\n"; print "
    \n"; while () { chomp; s:^\./::; $path = $_; $path =~ s:/index.html$::; print "
  • $path

  • \n"; } close FIND; print "
\n"; print "\n"; -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list