On 9/29/07, Xavier <[EMAIL PROTECTED]> wrote: > On Sat, Sep 29, 2007 at 10:03:38PM +0300, Alexandros K-K wrote: > > on the same topic (more or less) i cant figure out how i can search for > > keyword a && keyword b > > currently pacman only searches for keywoard a || keyword b > > > > If you don't know the order, you could maybe try something like : > pacman -Ss "keyword a.*keyword b|keyword b.*keyword a" > > If this is a stupid regexp, please let me know :) > > > for example pacman -Ss window manager lists all packages that mention either > > window or manager > > is there a way to search for packages that mention both words? > > > > Well, in this particular case, as already answered, you just need : "window > manager".
As Xavier pointed out, our searching isn't really top notch here. There are a few things we'd like to implement soon that will help this, BUT for the time being, pacman does support regex searches, so you are more than welcome to abuse that. _______________________________________________ arch mailing list [email protected] http://archlinux.org/mailman/listinfo/arch
