From: "jdh" <dhenman@gmail.com>
To: <zsh-users@zsh.org>
Subject: Re: Re: How to efficiently allow * in a cml string
Date: Thu, 25 Nov 2021 23:07:14 +4000 [thread overview]
Message-ID: <20211125230714.8704@sachi> (raw)
Thanks for the lead.
You're right, I do want to avoid having to use quotes and backslashes.
I'll follow up looking into the information you kindly supplied.
Thank You.
---------
Lawrence Velázquez <larryv@zsh.org> wrote:
> On Wed, Nov 24, 2021, at 12:06 AM, jdh wrote:
> > Is there some way the invoiked script can reach into the buffer before
> > zsh complains about the *.
> >
> > I've tried: 'unsetop GLOB' but that didn't work.
>
> Well yeah, filename expansion happens before the script executes.
>
> > Simple example: How can I get a script to do 2*4 in the below simple version:
> >
> > $ calculate 2*4
>
> Presumably you won't be satisfied with
>
> calculate '2*4'
>
> or
>
> noglob calculate 2*4
>
> You may want to read through this thread beginning with users/27103,
> which already covered a lot of the same ground.
>
> https://www.zsh.org/mla/users/2021/msg00815.html
>
> --
> vq
next reply other threads:[~2021-11-26 7:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 7:07 jdh [this message]
2021-11-26 13:21 ` Pier Paolo Grassi
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=20211125230714.8704@sachi \
--to=dhenman@gmail.com \
--cc=zsh-users@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).