Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Block comments ala Ray
- X-seq: zsh-workers 48012
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Block comments ala Ray
- Date: Thu, 11 Feb 2021 22:26:03 -0800
- Archived-at: <https://zsh.org/workers/48012>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/CAH%2Bw%3D7aY42eS-oTzVsxbinee3Xj4J0uH%3DjgrZ1DMbPYPe8VFwA%40mail.gmail.com>
- In-reply-to: <CAH+w=7Zd2gY-s5T1dDNEEujAh6197MzrUD-iZrVwZLzD=L7xVQ@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>
On Thu, Feb 11, 2021 at 10:17 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> print this <# part is a comment
> (lah-di-dah for perhaps hundreds of lines)
> but this part #> is the rest of the command
Of course one can already do
print this ${:+ stuff is discarded
(as long as there are no unbalanced
quotes or curly braces)
and then this} is the rest of the command
So perhaps it's not worth worrying that there's another way to do that.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author