9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] rc oddity with quote and backslash
@ 2021-03-30 15:41 Xiao-Yong Jin
  2021-03-30 15:55 ` Mark van Atten
  2021-03-30 16:48 ` ori
  0 siblings, 2 replies; 3+ messages in thread
From: Xiao-Yong Jin @ 2021-03-30 15:41 UTC (permalink / raw)
  To: 9front

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


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 15:41 [9front] rc oddity with quote and backslash Xiao-Yong Jin
2021-03-30 15:55 ` Mark van Atten
2021-03-30 16:48 ` ori

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