X-Account-Key: account5
X-UIDL: GmailId1284f274a0a2eb95
X-Mozilla-Status: 0000
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Delivered-To: mlsubscriber.tech@csmining.org
Received: by 10.143.34.8 with SMTP id m8cs98327wfj;
        Fri, 30 Apr 2010 07:38:19 -0700 (PDT)
Received: by 10.87.67.13 with SMTP id u13mr4060545fgk.66.1272638294749;
        Fri, 30 Apr 2010 07:38:14 -0700 (PDT)
Return-Path: <bounce-debian-user=mlsubscriber.tech=csmining.org@lists.debian.org>
Received: from liszt.debian.org (liszt.debian.org [82.195.75.100])
        by mx.google.com with ESMTP id b17si3080976fka.43.2010.04.30.07.38.14;
        Fri, 30 Apr 2010 07:38:14 -0700 (PDT)
Received-SPF: pass (google.com: manual fallback record for domain of bounce-debian-user=mlsubscriber.tech=csmining.org@lists.debian.org designates 82.195.75.100 as permitted sender) client-ip=82.195.75.100;
Authentication-Results: mx.google.com; spf=pass (google.com: manual fallback record for domain of bounce-debian-user=mlsubscriber.tech=csmining.org@lists.debian.org designates 82.195.75.100 as permitted sender) smtp.mail=bounce-debian-user=mlsubscriber.tech=csmining.org@lists.debian.org
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 9BAA513A48E8; Fri, 30 Apr 2010 14:37:53 +0000 (UTC)
Old-Return-Path: <dburrows@debian.org>
XChecker-Version: SpamAssassin 3.2.5 (2008-06-10) on liszt.debian.org
XLevel: 
XStatus: No, score=-11.0 required=4.0 tests=LDOSUBSCRIBER,LDO_WHITELIST
	autolearn=failed version=3.2.5
X-Original-To: lists-debian-user@liszt.debian.org
Delivered-To: lists-debian-user@liszt.debian.org
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with ESMTP id 521D413A44AC
	for <lists-debian-user@liszt.debian.org>; Fri, 30 Apr 2010 14:37:47 +0000 (UTC)
X-Virus-Scanned: at lists.debian.org with policy bank en-ht
X-AmavisStatus: No, score=-7 tagged_above=-10000 required=5.3
	tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham
Received: from liszt.debian.org ([127.0.0.1])
	by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525)
	with ESMTP id GeD33hcOv2jE for <lists-debian-user@liszt.debian.org>;
	Fri, 30 Apr 2010 14:37:40 +0000 (UTC)
Received: from algebraicthunk.net (algebraicthunk.net [67.207.130.13])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by liszt.debian.org (Postfix) with ESMTPS id F23AC13A47CC
	for <debian-user@lists.debian.org>; Fri, 30 Apr 2010 14:37:39 +0000 (UTC)
Received: from c-76-104-234-217.hsd1.wa.comcast.net ([76.104.234.217] helo=emurlahn.burrows.local)
	by algebraicthunk.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <dburrows@debian.org>)
	id 1O7rLV-0003wr-1K
	for debian-user@lists.debian.org; Fri, 30 Apr 2010 07:37:37 -0700
Date: Fri, 30 Apr 2010 07:37:33 -0700
From: Daniel Burrows <dburrows@debian.org>
To: debian-user@lists.debian.org
Subject: Re: How to list packages in various priorities or sections
Message-ID: <20100430143733.GF22310@emurlahn.burrows.local>
References: <BAY107-W40CA464DA4A764A9E7CEA2EF190@phx.gbl>
	<m2y6d4219cc1004051447t3e9f8772i5616454b9b95d9c3@mail.csmining.org>
	<BAY107-W23150AD3A44D18DF98DBC9EF190@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <BAY107-W23150AD3A44D18DF98DBC9EF190@phx.gbl>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2008-11-04_01
Resent-Message-ID: <lhCDPmsi0wC.A.UbC.Btu2LB@liszt>
Resent-From: debian-user@lists.debian.org
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/575557
X-Loop: debian-user@lists.debian.org
List-Id: <debian-user.lists.debian.org>
List-Post: <mailto:debian-user@lists.debian.org>
List-Help: <mailto:debian-user-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-user-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-request@lists.debian.org
Resent-Date: Fri, 30 Apr 2010 14:37:53 +0000 (UTC)

On Mon, Apr 05, 2010 at 06:14:42PM -0400, Mike Viau <viaum@sheridanc.on.ca> was heard to say:
> Both "aptitude search ~pextra ~smisc" and "aptitude search ~pextra search ~smisc" resulted in a list of package which did not necessarily meet both the search patterns specified.

  That's because "aptitude search" implicitly puts an ?or between its
parameters.  Around them.  Whatever.

  If you quote the arguments so they end up in a single command-line
parameter, this should work.

  On the surface, this behavior is dumb.  On the other hand, if an
implicit ?and was used, "aptitude search gnome kde" would return only
packages matching *both* gnome and kde, which probably isn't what the
user wanted.  Trade-offs in both directions; the one aptitude picked
means that if you want to use complex patterns, you need to be aware
of where your command-line arguments are.

  Daniel


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20100430143733.GF22310@emurlahn.burrows.local


