Ryan Hill wrote: > Can someone provide a tool that given a package name simply prints the > category or cat/pkg, or if ambiguous, prints the multiple cat/pkgs or > returns an error code? I don't care what it's written in as long as > it's relatively quick. I'm sick of depending on udept (which is an > incredible tool but a lot heavy for a simple shell script) just to get a > simple category. After getting a couple suggestions, I guess I forgot some requirements. a) package-manager agnostic b) using only tools in the system set + maybe gentoolkit and portage-utils I want something that anybody can use in their scripts without having to install paludis, or eix, or udept, or etc. Bonus points for actually integrating this feature into gentoolkit or portage-utils. ;) -- fonts, by design, by neglect gcc-porting, for a fact or just for effect wxwindows @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662