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

Re: nit pick



On Mon, Dec 28, 2020 at 6:47 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
>     test2()
>     {
>          typeset -a test1=\
>         ("foo"
>          "bar"
>          "baz")
>     }
>
>     $ test1; test2
>     test2:2: invalid mode specification
>
> ... but it seems to me that as a matter of strict logic, since the
> backslash indicates line continuation I'd expect [...]
> the opening parenthesis after the equal sign [to] be
> seen correctly [...].

Line continuation does not remove leading spaces from the following line.




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