From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Re: Listing all packages with --search now impossible Date: Sat, 26 Jan 2019 09:34:32 +0100 Message-ID: <791E8E8B-C28A-4D1C-BB95-430B2C7977A7@riseup.net> References: <9ec3d20a-b40f-e164-5c84-fcdc7cc026bd@riseup.net> <87ef90v1ds.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----ZR6SDXUY18X3R1MP02Q6U8PC2OCFHE" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnJQJ-0006Pk-66 for guix-devel@gnu.org; Sat, 26 Jan 2019 03:34:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnJQF-0005NG-L5 for guix-devel@gnu.org; Sat, 26 Jan 2019 03:34:41 -0500 Received: from mx1.riseup.net ([198.252.153.129]:44016) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnJQ9-0004m2-UN for guix-devel@gnu.org; Sat, 26 Jan 2019 03:34:35 -0500 In-Reply-To: <87ef90v1ds.fsf@elephly.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: Ricardo Wurmus Cc: guix-devel ------ZR6SDXUY18X3R1MP02Q6U8PC2OCFHE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus skrev: (25 januari 2019 23:05:51 CET) > >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=2E >> >> also: >> >> $ guix package --search * >> guix package: error: invalid argument: Missing required argument >after >> `--search' >> >> This is a bug=2E "*" should match everything=2E > >This is not a bug=2E > >The argument must be separated from the option with an =E2=80=9C=3D=E2=80= =9D=2E The second >problem is that =E2=80=9C*=E2=80=9D is not a regular expression but a she= ll glob >pattern=2E You need to provide a regular expression=2E This works: > > guix package --search=3D=2E* > >--=20 >Ricardo Thanks! We should document the regex syntax and an example I think=2E --=20 Sent from my p=E2=89=A1p for Android=2E ------ZR6SDXUY18X3R1MP02Q6U8PC2OCFHE Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Ricardo Wurmus <reka= do@elephly=2Enet> skrev: (25 januari 2019 23:05:51 CET)

Hi swedebugia,

<swedebugia@riseup=2Ene= t> writes:

Yest= erday when I played around with guix I noticed that the default
behavio= r of
$ guix package --search
guix package: error: invalid argument:= Missing required argument after
`--search'

has changed recentl= y from showing all packages to now showing none=2E

also:

$ = guix package --search *
guix package: error: invalid argument: Missing = required argument after
`--search'

This is a bug=2E "*" should = match everything=2E

This is not a bug=2E

The arg= ument must be separated from the option with an =E2=80=9C=3D=E2=80=9D=2E T= he second
problem is that =E2=80=9C*=E2=80=9D is not a regular expressio= n but a shell glob
pattern=2E You need to provide a regular expression= =2E This works:

guix package --search=3D=2E*

Thanks!
We should document the regex syntax = and an example I think=2E
--
Sent from my p=E2=89=A1p for Android=2E=
------ZR6SDXUY18X3R1MP02Q6U8PC2OCFHE--