From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5228 invoked by alias); 20 Apr 2014 16:47:54 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18742 Received: (qmail 11485 invoked from network); 20 Apr 2014 16:47:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=vEQRVrWlFxONxmr+Q0Ff2BB5MZtuBBcFtRwEM0t2FKU=; b=Le/N1PiNbvYIgPFM8ME0EaDk/raaMlU58uF8Bqz2bWsaVtCyHDnUzRe7tVl4qAFR1G kx9vFz6IYtkIhdp8aicdDA/EO9/Z5hsbZTX4rjzI2VcQWLOIjMHKNm4JnXMKPBSHFjLl SqDndkH9ekaeEsHcwUfEqmDqLXeFfixVpb2XYcZCSc85IeuYhP0FjCBSVKRcSlDlz4C5 FBzwhb+j05KQraPU7hd2X2FPDVWdxY2BEl3Mrj3ncZIqAXaP/l3Y0jQIsxvU9l57gOGA SRG8wQ3kHtVm5pE6DzvHScWuuR4jpab9bp9nrLe9apZUiPUAqBRKaBB5hEODYz01kY59 w1tQ== X-Gm-Message-State: ALoCoQkd9EEJzWLG+ZSxqADzkBRVwvJnh2E/GPBr756zB9Al7qJo76XtapfQRqZEMHGuy1ELIyIp MIME-Version: 1.0 X-Received: by 10.58.1.97 with SMTP id 1mr3240062vel.23.1398012467849; Sun, 20 Apr 2014 09:47:47 -0700 (PDT) In-Reply-To: References: Date: Sun, 20 Apr 2014 09:47:47 -0700 Message-ID: Subject: Re: zsh: no matches found From: Kurtis Rader To: ugaciaka Cc: Zsh Users Content-Type: multipart/alternative; boundary=047d7b418c8b89bdbe04f77c2422 --047d7b418c8b89bdbe04f77c2422 Content-Type: text/plain; charset=UTF-8 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 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 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 --047d7b418c8b89bdbe04f77c2422--