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

Re: grammar triviality with '&&'



On 03/02/2015 02:31 AM, Vincent Lefevre wrote:

Finally if it's OK to have nothing before && / ||, then it would also be
syntactically OK to write

     && || && || && && ...
I disagree. Only a && or || as the first word of a list would have
a special meaning.

Right, isn't the idea that newline or no newline, '&&' receives the value of the previous command? All that would change is that the newline would not break the pipe, no?



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