From: Xiao-Yong Jin <meta.jxy@gmail.com>
To: 9front@9front.org
Subject: [9front] rc oddity with quote and backslash
Date: Tue, 30 Mar 2021 10:41:50 -0500 [thread overview]
Message-ID: <1424E43A-41B2-4C51-8F51-AA4227776840@gmail.com> (raw)
; 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.
next reply other threads:[~2021-03-30 15:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-30 15:41 Xiao-Yong Jin [this message]
2021-03-30 15:55 ` Mark van Atten
2021-03-30 16:48 ` ori
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=1424E43A-41B2-4C51-8F51-AA4227776840@gmail.com \
--to=meta.jxy@gmail.com \
--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).