Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Feature Request] Adding option to support triple quotes
- X-seq: zsh-workers 44655
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Aryn Starr <whereislelouch@xxxxxxxxxx>
- Subject: Re: [Feature Request] Adding option to support triple quotes
- Date: Tue, 13 Aug 2019 11:06:45 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=CTlBmWkFKJiF4cDHduleI0PFJbVYr6qK6qpQsXJF0qY=; b=vQ5B+tsxgW4NvqEprgR0/zuPD4VyIkvGQgMpdQVXS+r1Pow/g1TcdA4t8jIb2NA1VE Oi31aA/Yb7XoCStBJSwPHGX0JO1nCPUHC6XmoklKou63wGiz4eRylUVjkwTUfnS+gyRa rew5hXWC0WgvGtDdJ3Ghn5ZT53PdT7ifLND9Xw/rpocAGc0m9jTFUN8aYT+n0c/Wg0h4 dWCZqbiBBs8E9pw4Rz4vx5pL95tmU8vgjYvI5herwHs/dlKUhLwP/NYHnJRtGivlwrCc DYXdbbKXOrb9b+cBjPrc2EJHb0XkJwQTFh4lPIamJpCrWMhPOcgVRRrTwQCOEtEvypJf 2C9Q==
- In-reply-to: <6EA30061-5610-4CCA-93FB-0A160E2002A3@icloud.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <6EA30061-5610-4CCA-93FB-0A160E2002A3@icloud.com>
On 8/13/19, Aryn Starr <whereislelouch@xxxxxxxxxx> wrote:
> Adding an option to zsh to support triple quotes (TRIPLE_QUOTES) would make
> possible much more readable code.
> We can have double triple quotes that support `$` interpolation, and triple
> single quotes that just take raw strings. If it’s possible, we can even make
> it customizable for the user to set the number of quotes needed to activate
> this mode; I don’t imagine any one is using 4 consecutive quotes in their
> current code.
You are unfortunately wrong about this;
% echo it''''s used by RC_QUOTES
it's used by RC_QUOTES
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author