Sriram Natarajan wrote: > Hi > for some reason, I was trying to find out which package delivers > /usr/lib/libgd.so. So, I tried doing something like > > pkg search -r gd.so > > and then > > pkg search -r SUNWgd > > both of them returned with nothing. After searching through the archives > at pkg-discuss alias, I guess it occurred to me to search as "pkg search > -r SUNWgd*" and finally I was able to retrieve the package I was looking > for. > > > However, I was hoping if some one could add a one liner message when the > package search fails so that user knows exactly how to search for - > something along the lines of - > > pkg search -r SUNWgd > > Unable to find any 'SUNWgd' package in the repository. If you are > looking for packages matching SUNWgd, then you might want to search with > SUNWgd* - or some thing along the lines.. > > Goes a long way towards usability..
Please file a bug on development -> pkg -> cli as an enhancement. Thanks! -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
