Re: Package Pool Proposal
Just a small idea on hashing packages by prefixes. Writing a perl
function that finds the prefix for a package using a regexp is simple
like that:
sub packagedir {
$_[0] =~ m/^(doc|emacs|gstep|kernel|lg|mail|man|net|perl|python|svga|tcl|tk\|xserver|lib.|.)/o;
return $1;
}
and the list of directories, for this (crappy) selection of prefixes,
is simply:
2 3 9 a b c d c d e f g h i j k l m n o p q r s t u v w x y z
liba libb libc libd libe libf libg libh libi libj libk libl libm
libn libo libp libq libr libs libt libu libv libw libx liby libz
doc emacs gstep kernel lg mail man net perl python svga tcl tk xserver
By putting the regexp and the list of directories at the obvious doc
places both the scripts and the users will be happy (though I confess
that I used to like the classification by section...)
Cheers,
Eduardo Ochs
edrx@inx.com.br
(not a developer yet)
--
I gave vi to my grandmother and she wrote a book in 17 minutes,
but yet she didn't like it because it has no C-x C-e
Reply to: