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

Re: `repeat` with special characters - "bad math expression: illegal character"



> On Jan 23, 2021, at 2:34 PM, Patrick Reader <_@xxxxxxxxxx> wrote:
> 
>> Could you provide an example?
> 
> Compare
> 
> repeat 2*3 echo six
> 
> vs.
> 
> repeat "2*3" echo six
> 
> or
> 
> repeat '2*3' echo six
> 
> or
> 
> repeat 2\*3 echo six
> 
> or
> 
> repeat 6 echo six

I don't know why you didn't send this to the list.

vq




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