Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: `repeat` with special characters - "bad math expression: illegal character"
- X-seq: zsh-workers 47863
- From: Lawrence Velázquez <vq@xxxxxxxxx>
- To: Patrick Reader <_@xxxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: `repeat` with special characters - "bad math expression: illegal character"
- Date: Sat, 23 Jan 2021 14:41:21 -0500
- Archived-at: <https://zsh.org/workers/47863>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-01/7C9E4288-15C7-4419-86BF-E0F5DFD7EAC1%40larryv.me>
- In-reply-to: <0102017730be053e-9eccbdb4-1596-4ae7-8bee-5f2005229b83-000000@eu-west-1.amazonses.com>
- List-id: <zsh-workers.zsh.org>
- References: <010201773071544b-42b5de91-3fc9-411d-9f9c-ffb0f1a260e8-000000@eu-west-1.amazonses.com> <D7AB4F13-4405-4368-8B01-465566AFCF5D@larryv.me> <0102017730be053e-9eccbdb4-1596-4ae7-8bee-5f2005229b83-000000@eu-west-1.amazonses.com>
> 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