Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: dangerous behavior of while in zsh 5.6 ?
- X-seq: zsh-users 23698
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: dangerous behavior of while in zsh 5.6 ?
- Date: Wed, 03 Oct 2018 17:47:19 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:in-reply-to:date :references; s=fm1; bh=YeSB6qTutCo1pvvNjBOnLvdSY2dh+6K/Tc/+BaB/P ok=; b=dmfEmiSA7SiMfW7hspFEcig6B2qz77ZGqK4JP0GJPsSZq7wlhh1gI/Suc piENhxNDMbhf2aSrgXLJsrb+78yMewY6edaLdFHyb7Ta2OguPr7QNWZF9Cv92iFN ytHYkkRLrIqknVnTGJwB26xDdcFohcqn+/o2uQ/Cwy0KlWhMlbo/AAse8wDWl5wr cmYV/9TQ4Lz2mG4++3VHQS2oF7pN2x9U+UYqOy3evBwY6J8juh0OZvFT3WqfgcEJ njjj8DAhlyJk9yD1K/XQFOmel9oHwYAQ1CRnhv76CvVrR9X3sO397e/kQ4r1eU1l aFr0r8aa/5MDGlPuELQWrhO/l1gxg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=YeSB6qTutCo1pvvNjBOnLvdSY2dh+6K/Tc/+BaB/P ok=; b=DoXZkW2B8txxLVc3ZNVh8AcnoSQ1wa+a5d3/wpTiESGdBs51VYyazWdkl h3WaSAUcIBsWGEwh9xnXB0i1RzcHpGO3HBv5dItgoRQNhBCdLq44xp+DoPS4+qpn zHhqvkcM0wuXt6ojuhEsuKNbQItTCPowuOb/KPLpMEYMffavTXL1L6V8blC0gW8T xwrsOyfIY4+6MMoCQhkvvz/DNkd0pfcIjuMpyezxtv7V+9VN2GxSf7TpTOHcI/PP b2cjDUFYfxno6pJkgixYJoeGndfumuM2itSSgEX3zOAjo91FcefGElwFoQczmMrp 87l0JO6BZLaEP2pJAFBR6JqePBSZQ==
- In-reply-to: <20181003162552.GA14697@prometheus.u-strasbg.fr>
- 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: <20181003143800.GA9162@prometheus.u-strasbg.fr> <CAH+w=7ZuFKDMBvL7XdSqYXcXy5hrc_zQPK0KsLrTZ1Szrfu6Ow@mail.gmail.com> <20181003162552.GA14697@prometheus.u-strasbg.fr>
Marc Chantreux wrote on Wed, 03 Oct 2018 18:25 +0200:
> nat () {
> local -i x=${1-0}
> while print $[x++]
> }
Compare:
yes '' | nl -ba
Messages sorted by:
Reverse Date,
Date,
Thread,
Author