Re: rc oddity with quote and backslash
Mark van Atten <[email protected]> Tue, 30 Mar 2021 17:55:56 +0200
| Newsgroups | gmane.os.9front.general,gmane.os.plan9.general |
|---|---|
| Message-ID | <CALAsyW32n6efzAnieorKbdc2uDh-tvt8gfCf_UKF-fg-sJLDBQ@mail.gmail.com> |
On Tue, 30 Mar 2021 at 17:52, Xiao-Yong Jin <[email protected]> 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.