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

Re: [PATCH] don't exit shell on [[ -o invalid@option ]]



On Sat, Nov 18, 2017 at 10:22 AM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> How about the following.
>
> It uses status 3 because status 2 currently means "syntax error in [["
> and I didn't want to overload that; and it uses POSIX_BUILTINS because
> that seemed more closely related than POSIX_IDENTIFIERS.

For reasons I can't entirely define, it bothers me that an operation
to test the setting of options changes its behavior based on the
setting of an option.



Messages sorted by: Reverse Date, Date, Thread, Author