Philip Brown wrote:

> I think it used to be that   "pkg search sstring"  would search filenames
> only, and there was no way to search by description.
> I found a web archive that claims that functionality was "coming".

I think even the earliest versions of search were able to search on more
than just filenames, but it's all pretty long ago, so my memory of the
exact history is a bit fuzzy.

> However, now, in the latest solaris 11, (VM image of 11/11) it seems that
> the default is to search filename and description.  Sadly, this
> "enhancement" is the exact opposite of what I want. But reading the
> voluminous manpage, does not seem to say how, or even if, it is possible
> to search only by filename any more?

    pkg search path:/usr/bin/ls

or

    pkg search basename:ls

The syntax is discussed in pkg(1), with the search subcommand, but we don't
list the available keys anywhere, to my knowledge.

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

Reply via email to