You are not logged in.
Can -Ss search only tool's name?
Thanks
Offline
Have you tried expac?
'expac %n -S | grep <name>'
Edit: 'pacman -Sqs <name> | grep <name>' works too.
Last edited by karol (2011-11-29 15:44:13)
Offline
@karol what about the regex standart for pacman ?
Offline
@karol what about the regex standart for pacman ?
pacman searches the whole output of 'pacman -Si' / 'pacman -Qi' so grepping the output is a way of limiting search to e.g. just the name.
You can check the source code to see how it does it exactly.
Offline
But in man pacman:
-s, --search <regexp>
Search each locally-installed package for names or descriptions that match regexp. When including multiple search terms, only packages with descriptions
matching ALL of those terms are returned.
Offline
Have you tried expac?
'expac %n -S | grep <name>'Edit: 'pacman -Sqs <name> | grep <name>' works too.
pacman -Sqs is a better solution
Offline