Norm Jacobs wrote:
Perhaps this has been asked and answered, but can someone point me to a more complete description of the "query" language that "pkg search {query}" takes? The man page doesn't seem to provide much information. I'm trying to figure out if I can query on things like info.classification and if so, how?
Can you be more specific about what information is lacking in the man page?

You'll need to do a field/structured query for this. The syntax is:
pkg_name:action_type:key:token

So, to find installed packages with 'gnome' in their classifications, I did:
pkg search -l '<:set:info.classification:*gnome*>'

Brock

    -Norm

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to