Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Re: possible bug in zsh glob
- X-seq: zsh-users 14879
- From: "dipakgaigole" <dipakgaigole@xxxxxxxxxxxxxx>
- To: <arvidjaar@xxxxxxxxx>
- Subject: Re: Re: possible bug in zsh glob
- Date: 24 Feb 2010 10:56:45 -0000
- Cc: <zsh-users@xxxxxxx>, <nyh@xxxxxxxxxxxxxxxxxxx>, <dipakgaigole@xxxxxxxxxxxxxx>
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=redf; d=rediffmail.com; b=jaqmmfall3bMarYCQdbAeo2aG7E4SQrwJtO5kdUQrhowkFZ1/zpknBKf9O1rjt1w73UW134roKW3K1OdyjNQjYCl4X1T/kOpQ6X4LWWqJJgiE8L98lzlHTHWWBXCMJWd55jH43+t0h/zpJAl+Tq26uAYHzTm1XC8wGcTzOsG4hs= ;
- 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
On Wed, 24 Feb 2010 13:36:09 +0530 wrote
>On Wednesday 24 of February 2010 10:53:52 Nadav Har'El wrote:
>>
>> Is there any logical reason why zsh's default is the way it is? I.e.,
>> when it sees
>>
>> ls -l *.txt *.jp
>>
>> And there are no *.jp, it has to stop the entire command, rather than
>> let the command give you a message, like was always the case in the
>> Bourne shell, ksh, and bash (without the failglob option)?
>>
>
>I guess, because it (zsh) originates more from csh.
>
>Anyway, it is too late to change defaults now.
>
>Personally I like to take it as indication that I made a typo in
>command. I do not have any problems with extra quoting when needed :)
>
Before posting the question, I had a look at the glob options as well as the NOMATCH option, but the description of NOMATCH option was confusing.
This is the information from the zshoptions man page:
NOMATCH (-3)
If a pattern for filename generation has no matches, print an error, instead
of leaving it unchanged in the argument list. This also applies to file
expansion of an initial ~ or =.
Thanks for this info Andrey !!!
-Dipak
Messages sorted by:
Reverse Date,
Date,
Thread,
Author