Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Quoting the arguments to a function



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@xxxxxxxx> 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



Messages sorted by: Reverse Date, Date, Thread, Author