Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Block comments ala Ray
- X-seq: zsh-workers 48059
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Block comments ala Ray
- Date: Mon, 15 Feb 2021 21:30:25 +0000
- Archived-at: <https://zsh.org/workers/48059>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/20210215213025.GC18776%40tarpaulin.shahaf.local2>
- In-reply-to: <CAH+w=7aaTmz-KtQwFLRnLmRhWn+yGurP=kHxmWEP1=KhYzOb6w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7YZREq7FbJCCoWoJ-vQ7+P5Z=_mKB-aStoMiBRupqD_wA@mail.gmail.com> <CAN=4vMonpZHPSarsC778_GMbD_h4ioTwT+bTFU=FZ7_zbXaMqQ@mail.gmail.com> <CAH+w=7Zd2gY-s5T1dDNEEujAh6197MzrUD-iZrVwZLzD=L7xVQ@mail.gmail.com> <YCadpUsj860XWVv+@CptOrmolo.darkstar> <CAH+w=7aaTmz-KtQwFLRnLmRhWn+yGurP=kHxmWEP1=KhYzOb6w@mail.gmail.com>
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