From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Listing all packages with --search now impossible Date: Fri, 25 Jan 2019 23:05:51 +0100 Message-ID: <87ef90v1ds.fsf@elephly.net> References: <9ec3d20a-b40f-e164-5c84-fcdc7cc026bd@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gn9bu-0004oJ-6u for guix-devel@gnu.org; Fri, 25 Jan 2019 17:06:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gn9bt-00064I-ES for guix-devel@gnu.org; Fri, 25 Jan 2019 17:06:02 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gn9bs-00060S-K8 for guix-devel@gnu.org; Fri, 25 Jan 2019 17:06:01 -0500 In-reply-to: <9ec3d20a-b40f-e164-5c84-fcdc7cc026bd@riseup.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia Cc: guix-devel Hi swedebugia, writes: > Yesterday when I played around with guix I noticed that the default > behavior of > $ guix package --search > guix package: error: invalid argument: Missing required argument after > `--search' > > has changed recently from showing all packages to now showing none. > > also: > > $ guix package --search * > guix package: error: invalid argument: Missing required argument after > `--search' > > This is a bug. "*" should match everything. This is not a bug. The argument must be separated from the option with an =E2=80=9C=3D=E2=80= =9D. The second problem is that =E2=80=9C*=E2=80=9D is not a regular expression but a shell= glob pattern. You need to provide a regular expression. This works: guix package --search=3D.* --=20 Ricardo