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 44679
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [Feature Request] Adding option to support triple quotes
- Date: Sat, 17 Aug 2019 09:19:23 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=piSqLWKsKNeeFVtn9WPdj9jvjCHkaC01ir+KmrT2sHk=; b=ff1AbzIfenidVraxImHh5SPuE6+Ik29x0N2Bsz/Mk5T2h9kpGUXuMgTemEdwvhJ0Dk MBvB27GyhK5GEhxPf3tm5DSKD0Ah7U3hHDEDvHAQMhrdBa+OLnNIYSWX7eGvLfixy8hQ YqH6nDmFUpRwW3riA4Oo0VWRtTUxsH5n8fh8/Jr7kRbBzmAXenGhQnLy8uH9tmMiVYHJ 4vBvMVcwBAADkESGx3nMOQDhUNnQpaXLlUpv5Cu3tmvmO9y8eJ8xRPWiysYX+HB/C82h AVrn9Y8JFqSwefNosYYHBQ4L3RzP8CO0IbnAlORkwLPzjIyH3jB9+WlTXi6WoT7jdBxa HCpA==
- In-reply-to: <20190817063009.7niz4cz2tuqx3ksu@chaz.gmail.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>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <2c845fb0-d628-400f-a805-ad8356b6d87a@www.fastmail.com> <7EBD1ADA-7179-4EEF-97CA-DBE4371D80D6@icloud.com> <876f807b-dfdd-4246-8cfe-7cf6f373ac88@www.fastmail.com> <f053e72e-e22e-4729-a2de-eaa712119728@www.fastmail.com> <AAFFC725-E38F-4307-8E21-8A443FC0FFBC@icloud.com> <CAH+w=7bh3d950w_kT8KN5MeDjagapuoSqbWRBmFo8S=ZTUnwvg@mail.gmail.com> <20190817063009.7niz4cz2tuqx3ksu@chaz.gmail.com>
2019-08-17 07:30:09 +0100, Stephane Chazelas:
> 2019-08-16 22:31:11 -0700, Bart Schaefer:
> [...]
> > So if you really want to make progress with this, start looking for
> > something more akin to perl's q{} and qq{} as already mentioned.
> [...]
>
> q{} would be a non-starter since it's already valid syntax.
>
> q(...) for '...'
> qq(...) for "..."
> qqq(...) for $'...'
> qqqq(...) and more q's reserved for future extensions like
> ksh93's $"..."
>
> may be workable
[...]
Sorry, scrap that, I overlooked that it clashes with
q() { ...; }
And
rm *.faq(.bak|'~')
There's also ruby's %(...) which is less likely to clash in
practice.
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author