From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28377 invoked by alias); 20 Dec 2012 00:33:21 -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: 17482 Received: (qmail 29623 invoked from network); 20 Dec 2012 00:33:19 -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.1 required=5.0 tests=BAYES_00,DATE_IN_PAST_06_12, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.30 as permitted sender) X-Authority-Analysis: v=2.0 cv=TNAd0CZa c=1 sm=1 a=vufHLvghAvWTIJhhCRSZ3Q==:17 a=0wiOde9d68gA:10 a=-TuixWq7SZQA:10 a=8nJEP1OIZ-IA:10 a=epZpxxZHVLwA:10 a=H2xZz4cQ8gUFq76U2egA:9 a=wPNLvfGTeEIA:10 a=vufHLvghAvWTIJhhCRSZ3Q==:117 Message-id: <50D1E541.5030209@eastlink.ca> Date: Wed, 19 Dec 2012 08:03:13 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-version: 1.0 To: Danek Duvall , zsh-users@zsh.org Subject: Re: forbidden variable in for loop. References: <50D1DBBC.20200@eastlink.ca> <20121219235850.GB15388@lorien.comfychair.org> In-reply-to: <20121219235850.GB15388@lorien.comfychair.org> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 19/12/12 03:58 PM, Danek Duvall wrote: > 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 > That did it Danek, thanks very much. I have no idea how that happened, but I guess it did.