Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: possible bug in zsh glob
- X-seq: zsh-users 14868
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: possible bug in zsh glob
- Date: Tue, 23 Feb 2010 17:26:35 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=k7aeEaAn8hFBM2oKBhVoFIkDQV03Xea63nweE1bnK+w=; b=b9sTeahOvNUp8oHQ1LeO+46JUYDNzpRT7jpFn9pt1Y6quMGL1liRi28RAqhSiE5A1Y DADaozOMCiO0H6zxRe77Hxz4NG/Tx+R7d0iVIQiDtTaNoHyFLm/ZDS14pVV2no1IBL/6 Un7NwBSIxYQ1weq1aPLtVUrB/zpumrEwk9Ta4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=blW0yLzehBB0oEIkvGqhzu47pSZdZJwgK+yv8VXlUZHExXsudzJSpf7xuLf05O/bU+ nTJ0j5ygalNfaEYEbTirtasa59l0S1dESUS8lDzkKcsDvx4coz33wbqj+sc21jnCIx0r 1s5obEg+0sdzQFvXnyI+hkZ6EXWqA/nyHz0Po=
- In-reply-to: <20100223161302.61181.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>
- 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: <20100223161302.61181.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>
please don't crosspost users and workers, all users messages are sent
to workers as well.
On 23 February 2010 17:13, dipakgaigole <dipakgaigole@xxxxxxxxxxxxxx> wrote:
> Hello,
>
> I am finding this difference in the behavior while pattern matching.
> Under Bash, it properly throws error for non matching pattern and shows the details of the matched pattern.
>
> *************** bash **************
> bash-2.05b$ pwd
> /tmp
> bash-2.05b$ ls -l *.txt *.jp
> ls: *.jp: No such file or directory
You'll notice it's ls printing this message, not bash.
> Whereas under zsh 4.3.4, if any non-matching pattern is found, it also skips/ignores the matched pattern output.
This is by design, if you want the weird bash behaviour you can setopt
nonomatch.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author