You are not logged in.

#1 2018-03-14 19:47:04

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

Pacman/trizen - search for exact packagename (duc)

Hallo,
i want to search for the package 'duc' (AUR) with trizen. When i do trizen -Ss duc i get way too many entries (because actually it searches for *duc*). I can filter most out with trizen -Ss duc |grep /duc but there are still too many packages listed that are not of interest.
How can i do an exact or regular expression search with pacman/trizen eg. like trizen -Ss ^duc or trizen -Ss .*/duc? I need a command that just lists this one 'duc' package.

Any ideas?

Last edited by Maniaxx (2018-03-14 19:47:46)


sys2064

Offline

#2 2018-03-14 19:55:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Pacman/trizen - search for exact packagename (duc)

Use a better tool:

┌─[Veles ~]
└─╼ auracle search ^duc$
aur/duc 1.4.3-1 (5, 0.10)
    A library and suite of tools for inspecting disk usage.

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-03-14 20:08:41

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Pacman/trizen - search for exact packagename (duc)

Or, uh, don't use a search at all if you only want the exact match.

pacman -Si duc ==> trizen -Si duc


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB