On 25.07.2016 20:56, Aharon Robbins wrote:
> In article <nn5dsm$650$
1...@news-1.m-online.net>,
> Janis Papanagnou <
janis_pa...@hotmail.com> wrote:
>> I wonder why the rules are that strict in case of arithmetic expressions
>> with clear (line-)continuation conditions in the presense of parenthesis.
>
> The grammar doesn't understand nested parentheses. The rules for
> line continuation are clearly documented in the manual.
Yes. (I seem to recall, though, that GNU awk is more tolerant with where
line continuation is possible if compared to old (or even POSIX) awk. Am
I mistaken?)
> You can _always_
> use backslash continuation to cause awk to treat the end of line like
> a space.
Backslash continuation (which can be done on a lexical level) is an
inferior concept compared to syntactical structuring, can be error prone,
and often does not support readability. I therefore avoid it.
Janis