Hi,

I was playing with pkg(5) for a while, and find out that there is no way to
list fmris trough categories in the pkg(1) command. The only way to do this
is to grab packagemanager or play with awk.

I tried to create a simple implementation and add an option -c (stands for
category), some variables category_specified and category_name. Add one if
statement to the for cycle in list_inventory(). But I do beliveve that there
is much more efficient way how to solve this.

If there is such a way to do it without modifing source please let me know.

-- 
Best regards

Lubos Kocman
http://setuid.cc
[EMAIL PROTECTED]

"Unix is user-friendly. It's just very selective about who its friends are."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to