Shawn's right, this is the expected (I won't claim desired) behavior of search.
We are actively working on improving search, both in terms of what it returns and the speed with which it functions. Brock Shawn Walker wrote: > 2008/6/18 Chris Ridd <[EMAIL PROTECTED]>: > >> On 18 Jun 2008, at 09:57, Chris Ridd wrote: >> >> >>> This is on snv_90: >>> >>> $ pkg search libz >>> $ pkg search libz.so >>> INDEX ACTION VALUE PACKAGE >>> basename link lib/libz.so pkg://[EMAIL PROTECTED] >>> >>> Is there a minimum length string that can be searched for? >>> >> Same system: >> >> $ pkg search bin/wish >> $ pkg search wish >> INDEX ACTION VALUE PACKAGE >> basename link usr/bin/wish pkg://[EMAIL PROTECTED] >> >> Something's not quite right. >> > > I believe you're seeing the current expected behaviour. That is, > partial matching is not the default behaviour. > > So libz.so works because it is a complete filename. libz doesn't > because it is a substring match. > > The same goes for bin/wish and wish from what I understand. > > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
