You are not logged in.

#1 2010-02-04 21:13:35

jjt3hii
Member
Registered: 2008-06-09
Posts: 22

package search for multiple word string?

Ok, im feeling really dumb, but how do I search for packages using multiple words in a single string?  For example if I do the command "pacman -Ss session manager" it will return a huge list of all packages with the word session and all packages with the word manager, but what i really want to see is the smaller list of only the packages that contain the entire exact string session manager.

Offline

#2 2010-02-04 21:16:30

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: package search for multiple word string?

Here you go:
pacman -Ss "session manager"

Offline

#3 2010-02-04 21:26:22

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: package search for multiple word string?

Or: pacman -Ss session\ manager

Offline

#4 2010-02-04 21:27:51

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: package search for multiple word string?

or if you remember two words put somewhere you can use
pacman -Ss 'session.*manager'

this will get also `session great manager' for example.

Last edited by ezzetabi (2010-02-04 21:28:05)

Offline

#5 2010-02-04 21:56:41

jjt3hii
Member
Registered: 2008-06-09
Posts: 22

Re: package search for multiple word string?

My fault.  I'm actually using yaourt because i need to search the aur.  With yaourt none of these seem to work for me. They do seem to work with pacman, what is different?

Offline

#6 2010-02-04 22:25:10

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

Re: package search for multiple word string?

For me yaourt does the trick if you use ezzetabi's example ('session.*manager'). However, for 'session manager' only it doesn't.
You could try packer (in AUR). I just tried all three of them and packer seems to also look for the two words together only if you use '... ...' only.

Offline

#7 2010-02-04 22:30:01

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: package search for multiple word string?

Works in bauerbill too.

Offline

Board footer

Powered by FluxBB