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

Re: Block comments ala Ray



Bart Schaefer wrote on Fri, Feb 12, 2021 at 08:18:07 -0800:
> On Fri, Feb 12, 2021 at 7:24 AM Matthew Martin <phy1729@xxxxxxxxx> wrote:
> >
> > echo foo `# a comment` bar
> 
> Forking a no-op process just to make it look like a comment isn't my
> idea of a comment.

Could we optimize away the fork, like «$(<foo)»?  That would enable Stephane's
rsync example from workers/48056.




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