zsh-users
 help / color / mirror / code / Atom feed
From: Kurtis Rader <krader@skepticism.us>
To: ugaciaka <ugaciaka@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: zsh: no matches found
Date: Sun, 20 Apr 2014 09:47:47 -0700	[thread overview]
Message-ID: <CABx2=D_t1AZb5NoM87ORZA_uJu61EYrNvVObXs6tDigPPeDGbA@mail.gmail.com> (raw)
In-Reply-To: <CABx2=D8ZnYWVog_01aqKLkcpkQ4Ft21LC2zug_bYQcP6f4qfwQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]

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@skepticism.us> 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@gmail.com> 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

  reply	other threads:[~2014-04-20 16:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-20 16:12 ugaciaka
2014-04-20 16:18 ` Igor Sosa Mayor
2014-04-20 16:51   ` Sven Joachim
2014-04-20 17:35     ` Igor Sosa Mayor
2014-04-21 19:46       ` John Eikenberry
2014-04-22  6:02         ` lilydjwg
2014-04-22  7:05           ` Bart Schaefer
2014-04-24  4:10             ` lilydjwg
2014-04-22 13:28         ` Igor Sosa Mayor
2014-04-20 16:38 ` Kurtis Rader
2014-04-20 16:47   ` Kurtis Rader [this message]
2014-04-21  7:26   ` ugaciaka
  -- strict thread matches above, loose matches on Subject: below --
2005-03-21  0:38 Toshiro
2005-03-21  0:47 ` Dan Nelson
2005-03-21  1:04   ` Toshiro
2005-03-21  1:08     ` Clint Adams
2005-03-21  2:36       ` Toshiro
2005-03-21 16:45     ` Wayne Davison

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='CABx2=D_t1AZb5NoM87ORZA_uJu61EYrNvVObXs6tDigPPeDGbA@mail.gmail.com' \
    --to=krader@skepticism.us \
    --cc=ugaciaka@gmail.com \
    --cc=zsh-users@zsh.org \
    /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 public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).