From: Mark van Atten <vanattenmark@gmail.com>
To: 9front@9front.org
Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] Re: [9front] rc oddity with quote and backslash
Date: Tue, 30 Mar 2021 17:55:56 +0200 [thread overview]
Message-ID: <CALAsyW32n6efzAnieorKbdc2uDh-tvt8gfCf_UKF-fg-sJLDBQ@mail.gmail.com> (raw)
In-Reply-To: <1424E43A-41B2-4C51-8F51-AA4227776840@gmail.com>
On Tue, 30 Mar 2021 at 17:52, Xiao-Yong Jin <meta.jxy@gmail.com> wrote:
>
> ; xs=(a\
> b\
> c\
> )
> ; echo $#xs
> 3
> ; xs=('a'\
> rc: #d/0: syntax error
> ; xs=('a' \
> 'b' \
> 'c' \
> )
> ; echo $#xs
> 3
>
> The sequence of quote-backslash-newline somehow is not interpreted as quote-blank, but a syntax error. I don't think it's documented anywhere.
>
Same result on p9p.
Mark.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td7a2640b58fc8d2d-M4651bdea5395863f7e20833d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next parent reply other threads:[~2021-03-30 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1424E43A-41B2-4C51-8F51-AA4227776840@gmail.com>
2021-03-30 15:55 ` Mark van Atten [this message]
2021-03-30 18:07 ` Mark van Atten
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=CALAsyW32n6efzAnieorKbdc2uDh-tvt8gfCf_UKF-fg-sJLDBQ@mail.gmail.com \
--to=vanattenmark@gmail.com \
--cc=9fans@9fans.net \
--cc=9front@9front.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.
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).