[pacman-dev] [PATCH 2/6] pacsearch: support for multiple search patterns like in pacman search
Pierre Neidhardt
ambrevar at gmail.com
Mon Feb 3 13:02:41 EST 2014
On 14-02-03 11:06:03, Andrew Gregory wrote:
> On 02/03/14 at 02:23pm, Pierre Neidhardt wrote:
> > On 14-02-03 07:36:32, Andrew Gregory wrote:
> > > On 02/03/14 at 12:36pm, Pierre Neidhardt wrote:
> > > > Previously the different positional arguments formed a single pattern containing
> > > > spaces. Now each argument is a different pattern to match.
> > > >
> > > > Signed-off-by: Pierre Neidhardt <ambrevar at gmail.com>
> > > > ---
> > > > contrib/pacsearch.in | 4 ++--
> > > > 1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > See commit 380f062be. This breaks patterns like 'foo|bar'
> >
> > Right. Any idea how to solve this dilemma?
>
> Yes, don't run pacman in a shell, use open.
OK, I just gave it a try and it works flawlessly now. The code is even shorter
and faster. I'll re-commit the patches very soon.
--
Pierre Neidhardt
More information about the pacman-dev
mailing list