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

Re: here document within a switch fails to parse.



Am Donnerstag, 7. Januar 2021, 21:16:03 CET schrieb Ray Andrews:
> > The construct you use has side-effects you've overlooked, which mean
> > your fashion of comments will backfire in a way that you don't see yet.
> 
> I'm prepared to find out the hard way.  Guys like me suffer.

Some expressions in heredocs will be evaluated. Not a good idea for comments:

:<<EOC
$(print something > /dev/stderr)
EOC

Attachment: signature.asc
Description: This is a digitally signed message part.



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