Lubos Kocman wrote: > 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.
While "pkg list" doesn't support listing by category (an interesting RFE), pkg search can get you what you want for now: pkg search System/Packaging ...as an example. Cheers, -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
