Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: numeric for-loop and string for-loop
- X-seq: zsh-users 23787
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <zsh-users@xxxxxxx>
- Subject: Re: numeric for-loop and string for-loop
- Date: Mon, 3 Dec 2018 14:48:32 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181203144835euoutp0205f49ceb4abe4aecd13259d4bcca4cf5~s2guOkNpQ1738117381euoutp02M
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1543848515; bh=vux76BSQhXI3QhC5VVvs8FuF4b5lZMdWGMjsIEBUtvo=; h=Subject:From:To:Date:In-Reply-To:References:From; b=utRBgLPhElSlNib9u0s9UVDJCnlCwmAGLjo3rykwO0wmRAQXrFEwutBWVkcZoEW7U M7j8Oed9FXJGkqhLfPySszYjgAXqt1kAi0p7M49HaJIUHF9odOx3xkiz4SWlUYs6oP FUJpvr5+aNrcyM5Au7vhzeECpqR0zKeyDJt/5ES4=
- In-reply-to: <CABrM6wnW1cap8rP8oW8rbRd00eByL86aQq0gXsn0mmg6Tirn0g@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20181203135826epcas1p4dbee2d63b98245bd84c3179f644d2e6c@epcas1p4.samsung.com> <CABrM6wnW1cap8rP8oW8rbRd00eByL86aQq0gXsn0mmg6Tirn0g@mail.gmail.com>
On Mon, 2018-12-03 at 07:56 -0600, Peng Yu wrote:
> To make the second i as string in zsh, what is the best solution so
> that the minimum amount of code is changed.
If you want to turn an integer into a string,
declare +i i
will work.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author