zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: PATCH: clarify which quotation marks to note
Date: Sun, 14 Aug 2011 09:52:55 +0200	[thread overview]
Message-ID: <CAHYJk3RgE=q5mK09CdzySZHGq9+c_AQZ_kkGU1VPhroHPJwJtw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTik32=y-JVqgj3xkjuEG+444xgurJQ@mail.gmail.com>

On 27 May 2011 07:14, Mikael Magnusson <mikachu@gmail.com> wrote:
> On 27 May 2011 06:44, Bart Schaefer <schaefer@brasslantern.com> 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


  reply	other threads:[~2011-08-14  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-27  1:33 Mikael Magnusson
2011-05-27  4:44 ` Bart Schaefer
2011-05-27  5:14   ` Mikael Magnusson
2011-08-14  7:52     ` Mikael Magnusson [this message]
2011-08-14 22:54       ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHYJk3RgE=q5mK09CdzySZHGq9+c_AQZ_kkGU1VPhroHPJwJtw@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).