Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh: no matches found
- X-seq: zsh-users 18742
- From: Kurtis Rader <krader@xxxxxxxxxxxxx>
- To: ugaciaka <ugaciaka@xxxxxxxxx>
- Subject: Re: zsh: no matches found
- Date: Sun, 20 Apr 2014 09:47:47 -0700
- Cc: Zsh Users <zsh-users@xxxxxxx>
- In-reply-to: <CABx2=D8ZnYWVog_01aqKLkcpkQ4Ft21LC2zug_bYQcP6f4qfwQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CALfoNRxgwaETX1Zt=wkGULy3WheNe-o3TzWe+EBpVrdR_Wv2OA@mail.gmail.com> <CABx2=D8ZnYWVog_01aqKLkcpkQ4Ft21LC2zug_bYQcP6f4qfwQ@mail.gmail.com>
Also, as with practically every zsh behavior you can configure it to behave
like bash or emit an error message. From "man zshexpn" in the "filename
generation" section:
The word is replaced with a list of sorted filenames that match the
pattern. If no matching pattern is found, the
shell gives an error message, unless the NULL_GLOB option is
set, in which case the word is deleted; or unless the
NOMATCH option is unset, in which case the word is left unchanged.
On Sun, Apr 20, 2014 at 9:38 AM, Kurtis Rader <krader@xxxxxxxxxxxxx> wrote:
> You need to quote the URL. The question-mark is a file globbing character
> in both bash and zsh. The difference is that in bash if it doesn't match a
> file it is treated as a literal question-mark rather than a glob character.
> Try this in both shells:
>
> rm -f /tmp/abc
> echo /tmp/a?c
> touch /tmp/abc
> echo /tmp/a?c
>
>
> On Sun, Apr 20, 2014 at 9:12 AM, ugaciaka <ugaciaka@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> I could try to use youtube-dl but I noticed that doesn't work with zsh.
>>
>> youtube-dl http://www.youtube.com/watch?v=6b5CKd8R3vY
>> zsh: no matches found: http://www.youtube.com/watch?v=6b5CKd8R3vY
>>
>> Is it any .zshrc configuration?
>>
>> With bash it worked, why?
>>
>> Thank's
>> --
>> ugaciaka
>> http://about.me/ugaciaka
>>
>
>
>
> --
> Kurtis Rader
> Caretaker of the exceptional canines Junior and Hank
>
--
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author