zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Ray Andrews <rayandrews@eastlink.ca>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: nit pick
Date: Mon, 28 Dec 2020 08:39:03 -0800	[thread overview]
Message-ID: <CAH+w=7ZxwSBozOJjuDdLw6zGU+V9mVVZXJhYG47ZsaYOqCXyBQ@mail.gmail.com> (raw)
In-Reply-To: <97914b11-078e-c5f3-4249-8a0667edc91a@eastlink.ca>

On Mon, Dec 28, 2020 at 6:47 AM Ray Andrews <rayandrews@eastlink.ca> 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.


  reply	other threads:[~2020-12-28 16:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 14:47 Ray Andrews
2020-12-28 16:39 ` Bart Schaefer [this message]
2020-12-28 19:23   ` Ray Andrews
2020-12-28 18:33 ` Stephane Chazelas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7ZxwSBozOJjuDdLw6zGU+V9mVVZXJhYG47ZsaYOqCXyBQ@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).