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

Re: [PATCH] Re: Parser issues and and [[ $var ]]



On May 13, 10:10am, Peter Stephenson wrote:
} Subject: Re: [PATCH] Re: Parser issues and and [[ $var ]]
}
} > This problem already exists -- infix operators that aren't tokens like
} > && and || are already lower prececence than prefix operators.
} 
} While this sort of thing and the problems with modular conditions are a
} real headache for parsing, I don't think the actual practical problems
} are anything like as bad.

It's almost certainly not a problem for correct programs.  The case I'd
be worried about is a program that ksh would reject as syntactically bad
(and therefore never start running) where zsh would accept it and then
fail at run time (possibly creating side-effects).

However, having had this situation already for a rather long time, I am
not particularly worked up about it.



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