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

Re: grammar triviality with '&&'



On Mar 2, 2015 10:09 AM, "Ray Andrews" <rayandrews@xxxxxxxxxxx> wrote:
>
> My thinking is (surprise!) C-ish--the newline should be irrelevant.

(I should probably recommend at this point that you never try to take up
programming in Python.)

> Just as one can end a line with && so should one be able to begin a line
the same way, same logic.

I don't know if anyone has bothered to notice this, but as long as all of
your conditions are testable with [[ ]], the newlines are not significant
inside that construct.


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