On 04/18/12 13:24, Philip Brown wrote:
On 4/18/12 1:15 PM, Shawn Walker wrote:

As long as I can remember, search has always treated searches such as
'pkg search foo' as not being specific to a filename. That is, it will
match anything it can, including descriptions or filenames.

If you want to limit your search to filesystem names (directories and
files), you have two options, either start the pattern with a leading
'/' and include the full path to the item you're searching for or use
the advanced search syntax to limit matches to 'path' or 'basename':
....

Thanks.

It seems like there are a LOT of options and possibilities with this
subcommand.
The length of the current pkg manpage, makes it somewhat unusable. It
would be really nice if subcommands were split off. ie: man pkg_search,
or some such, a la "man mkfs_ufs" and so on.

Hey, pkg(1) is still about 1,100 lines less than zfs(1M) 8)

-Shawn

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

Reply via email to