From: swedebugia <swedebugia@riseup.net>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Listing all packages with --search now impossible
Date: Sat, 26 Jan 2019 09:34:32 +0100 [thread overview]
Message-ID: <791E8E8B-C28A-4D1C-BB95-430B2C7977A7@riseup.net> (raw)
In-Reply-To: <87ef90v1ds.fsf@elephly.net>
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
Ricardo Wurmus <rekado@elephly.net> skrev: (25 januari 2019 23:05:51 CET)
>
>Hi swedebugia,
>
><swedebugia@riseup.net> 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 “=”. The second
>problem is that “*” is not a regular expression but a shell glob
>pattern. You need to provide a regular expression. This works:
>
> guix package --search=.*
>
>--
>Ricardo
Thanks!
We should document the regex syntax and an example I think.
--
Sent from my p≡p for Android.
[-- Attachment #2: Type: text/html, Size: 1410 bytes --]
prev parent reply other threads:[~2019-01-26 8:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-25 21:22 Listing all packages with --search now impossible swedebugia
2019-01-25 22:05 ` Ricardo Wurmus
2019-01-26 8:34 ` swedebugia [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=791E8E8B-C28A-4D1C-BB95-430B2C7977A7@riseup.net \
--to=swedebugia@riseup.net \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.