Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: clarify which quotation marks to note
- X-seq: zsh-workers 29680
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: clarify which quotation marks to note
- Date: Sun, 14 Aug 2011 09:52:55 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8FMICLiemKl4n5q/yofk9nHHnC2RbjIm4XqzcYSmKOE=; b=Vd9r+Ezs5ekC8ZRAMxEaIDk0VJOla2t4FaVppuQTL/WPF3tpuNI5BeHeDqWEjnxZHt OMWm31Wdv9xz9L9hY+mHZRS0xkxkgTR6ZlkCwD/Cu2YGWanDYBW3hjLmgmG62FuBe+04 vxUOrda+qF3uVI3Cno7dKDZIibQRHdTYVQutc=
- In-reply-to: <BANLkTik32=y-JVqgj3xkjuEG+444xgurJQ@mail.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>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1306459987-18807-1-git-send-email-mikachu@gmail.com> <110526214445.ZM533@torch.brasslantern.com> <BANLkTik32=y-JVqgj3xkjuEG+444xgurJQ@mail.gmail.com>
On 27 May 2011 07:14, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On 27 May 2011 06:44, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>> On May 27, 3:33am, Mikael Magnusson wrote:
>> } Subject: PATCH: clarify which quotation marks to note
>> }
>> } I found the "Note the quotation marks" remark a bit confusing when I
>> } read this.
>>
>> I still find it confusing. :-}
>>
>> } the expression `tt(*(e:'reply=(${REPLY}{1,2})':))' will cause the words
>> } +`tt(lonely1)' and `tt(lonely2)' to be inserted into the command line. Note
>> } +the quotation marks in the expression.
>>
>> Note the single quotes inside the colons in the expression.
>>
>> Perhaps??
>
> Maybe we could say "The var(string) is quoted as noted above",
> referring to this earlier sentence
>
> Note that expansions must be quoted in the var(string)
> to prevent them from being expanded before globbing is done.
>
> Which is not incorrect, but you need to quote other things too,
> *(e:):) is an error for example (a different error than *(e:\):) ).
>
> It's weird how long you can stare at some stupid little thing and not
> come up with a good concise way to write it down.
Okay, how about simply "note the quoting of var(string)"?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author