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

Re: Weird behavior of conditionals with exclamations (ZSH 5.0.7)



On Sun, 14 Jun 2015 20:19:21 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Jun 14,  7:50pm, Daniel Miranda wrote:
> }
> } while [ -n "$str" ]; do
> } 
> } If and only if the value of "$str" is '!', a string containing a
> } single exclamation. It seems the test command somehow attempts to
> } parse it as a modifier, instead of an actual string to be tested.
> 
> This has already been fixed in 5.0.8.

Fairly late: 35306 / cb596a55d9.

pws



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