Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Issue: Handling of globbing fails
- X-seq: zsh-workers 42360
- From: Šimon Let <simon.a.let@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Issue: Handling of globbing fails
- Date: Mon, 12 Feb 2018 17:34:11 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OitZE1lFjywlsZeoFeKVO6bJHYXDW0nrxO+uDFNwOBI=; b=ttdmSkrLDsKzJhasQUFgCCv2haztXJHTn/xTxMOudLoMJDoQlWcLIfh+T9v7jPD6IG HUz9baLddo17vzFNygW/RakglZj7NmaeJULuGy2Exb19fRBOsAII5WxRAIQA5EeA+RML IXNM+TMlGeKyVIojLm8GdoW38n1jQAqlpLhiG+/yFZv0XzNsx/5jfD6vmXMjbTABQAB/ Gd3bDqN+7EJzWn+BA2atihP6YaZyjXPWzj3K8QDPfCwu6i1RS69oS+Z/Umkx1durcpjx BF5XAEt0G2TcEkXzC+EXwmGlJfTnbKyx2RW5l5fRGcx0i7KCUDDqyHJmYNTtawKTcSAy e1EQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
I want to create an issue.
The way zsh handles globbing fails is non-systematic.
Consider running following command:
`echo some_empty_directory/* && echo "NO FAIL" || echo "FAIL"`
It produces following output:
`zsh: no matches found: some_empty_dir/*`
The command causes globbing fail but the way zsh handles this fail is
beyond me.
Why does globbing fail stop execution of the current line (or script)?
This behavior is non-systematic or surprising at least.
Why does failed globbing behave almost as a parsing error?
Cheers,
Simon Let
Messages sorted by:
Reverse Date,
Date,
Thread,
Author