Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Issue: Handling of globbing fails



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