9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Re: [9front] rc oddity with quote and backslash
       [not found] <1424E43A-41B2-4C51-8F51-AA4227776840@gmail.com>
@ 2021-03-30 15:55 ` Mark van Atten
  2021-03-30 18:07   ` Mark van Atten
  0 siblings, 1 reply; 2+ messages in thread
From: Mark van Atten @ 2021-03-30 15:55 UTC (permalink / raw)
  To: 9front; +Cc: Fans of the OS Plan 9 from Bell Labs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [9fans] Re: [9front] rc oddity with quote and backslash
  2021-03-30 15:55 ` [9fans] Re: [9front] rc oddity with quote and backslash Mark van Atten
@ 2021-03-30 18:07   ` Mark van Atten
  0 siblings, 0 replies; 2+ messages in thread
From: Mark van Atten @ 2021-03-30 18:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

As pointed out on the 9front list: this is as it should be.

Sorry for the noise.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td7a2640b58fc8d2d-Mbede6b7cf97b5ad84ce54227
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 972 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-30 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1424E43A-41B2-4C51-8F51-AA4227776840@gmail.com>
2021-03-30 15:55 ` [9fans] Re: [9front] rc oddity with quote and backslash Mark van Atten
2021-03-30 18:07   ` Mark van Atten

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).