Subject: Re: pkg_info show categories and show single entry
To: None <>
From: Roland Illig <>
List: tech-pkg
Date: 07/13/2005 23:53:56
Hubert Feyrer wrote:
> On Fri, 8 Jul 2005, Jeremy C. Reed wrote:
>> Also when I look for one specific package, I do:
>> pkg_info | grep speex
>> Maybe a switch like:
>> $ pkg_info -1 speex
>> speex-1.0.4nb1      Open-source, patent-free voice codec
>> (I am looking for one-line format showing version and single line 
>> comment.)

... and the -1 option is based on that of ls(1) ...

>> If any of the above ideas are implemented, please let me know.
> What's wrong with the grep approach? It follows the Unix-approach to 
> keep things small, and doesn't put extra bloat into the pkg tools.
> Your former thing is similar. If you want a pkg search tool, write a 
> seperate one or extend one of the (many) existing ones, but don't bloat 
> a tool into what it's not for.

Isn't pkg_info meant to show some basic information about installed 
packages? See the man page for the intent of pkg_info.

If not, I would like to extend the domain of pkg_info to these cases. It 
fits perfectly to the name of the tool.