Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: here document within a switch fails to parse.



> On Jan 13, 2021, at 6:39 PM, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
> 
> On 2021-01-13 1:57 p.m., Pier Paolo Grassi wrote:
> 
>>  Since Ray doesn't ask, I will: what situation will break those "comments"?
> 
> I'm primed to expect it, but so far the more robust " : <<\END " form seems fine.

This is no more or less robust than what you already had (<<'END').
Interpretation of the here-document contents is suppressed if *any*
of those characters is quoted.

vq



Messages sorted by: Reverse Date, Date, Thread, Author