From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20895 invoked by alias); 20 Dec 2012 00:18:57 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17480 Received: (qmail 14501 invoked from network); 20 Dec 2012 00:18:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DOS_RCVD_IP_TWICE_B, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at lorien.comfychair.org designates 173.8.144.98 as permitted sender) Date: Wed, 19 Dec 2012 15:58:50 -0800 From: Danek Duvall To: Ray Andrews Cc: zsh-users@zsh.org Subject: Re: forbidden variable in for loop. Message-ID: <20121219235850.GB15388@lorien.comfychair.org> Mail-Followup-To: Danek Duvall , Ray Andrews , zsh-users@zsh.org References: <50D1DBBC.20200@eastlink.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50D1DBBC.20200@eastlink.ca> User-Agent: Mutt/1.5.20 (2010-04-22) Ray Andrews wrote: > for a in *; do echo $a; done > > All fine. but: > > for i in *; do echo $i; done > > Gives me a list of zeros. Followed by "zsh: bad floating point constant" > > It works fine for any letter of the alphabet so far tested except > 'i'. For the life of me I can't guess what it is that makes 'i' > special. Any thoughts? You probably did a "typeset -E i" at some point in the past. "unset i" should get it working again. Danek