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

RE: PATCH: suggestion for new condition




>
> I worry a little, too, (though it maybe groundless) that overloading
> conditions in the basic shell will cause unexpected results with
> existing tests that ought to work, e.g. things like [[ -v = -v ]] ---

What I think about, may be, quoting can be of some help here. That is, -v is
condition, but \-v or '-v' or "-v" should be interpreted as plain string? I
never used unquoted strings, even if it is quite legal. "str" simply looks
better :-) Others may have own preferences, though ...

/andrej



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