It will look for the specified string in all repositories
registered and will report "$pkgname-$version - $short_desc":
juan@sasha:~/xbps/utils$ ./xbps-bin search kernel
From /home/juan/repo2 repository ...
From /home/juan/repo3 repository ...
From /storage/xbps/binpkgs repository ...
kernel-headers-2.6.27.9 - The Linux kernel headers
module-init-tools-3.5 - Tools for managing kernel modules
juan@sasha:~/xbps/utils$
--HG--
extra : convert_revision : a589c4c641d033e6030f121704a55c1c94c22f0e
Also I changed the code to sanitize passed path, and make
the repo targets consistent with accepting the dir that contains
the packages.
--HG--
extra : convert_revision : 877ce4b1a6ad0d72e4a81094bbfe00ddea3baac3
This will try to show the package information by looking in
all repositories registered. The first one that has the package
info wins.
--HG--
extra : convert_revision : 33b93fd115a765d696af76ca20c1669ef277cd35