From: zv <zv@nxvr.org>
To: "Lawrence Velázquez" <vq@larryv.me>
Cc: zsh-users@zsh.org
Subject: Re: Quoting the arguments to a function
Date: Thu, 15 Sep 2016 17:10:25 -0700 [thread overview]
Message-ID: <a0f5762f-d0d6-0731-cbd9-81b995432cf6@nxvr.org> (raw)
In-Reply-To: <55919C94-D486-4724-8B88-07BD709847C8@larryv.me>
Yes, you can do that.
The goal is to not *have* to do that.
On 09/15/2016 05:09 PM, Lawrence Velázquez wrote:
>> On Sep 15, 2016, at 5:41 PM, zv <zv@nxvr.org> wrote:
>>
>> I want to supply the arguments of a function (an alias to Emacs `calc') without expansion, e.g:
>>
>> zv@computer# calc 20/2*15
>> 150
>>
>>
>> Today of course the result gives "zsh: no matches found: 20*15/2"
> Why can't you just quote the argument?
>
> % calc '20/2*15'
>
> vq
next prev parent reply other threads:[~2016-09-16 0:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-15 21:41 zv
2016-09-15 22:17 ` Philippe Troin
2016-09-16 0:09 ` Lawrence Velázquez
2016-09-16 0:10 ` zv [this message]
2016-09-16 0:12 ` Lawrence Velázquez
2016-09-16 10:52 ` Vincent Lefevre
2016-09-16 17:09 ` Bart Schaefer
[not found] ` <160916100934.ZM11263__9881.101063411$1474045859$gmane$org@torch.brasslantern.com>
2016-09-17 6:24 ` Daniel Shahaf
2016-09-17 14:35 ` 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=a0f5762f-d0d6-0731-cbd9-81b995432cf6@nxvr.org \
--to=zv@nxvr.org \
--cc=vq@larryv.me \
--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).