zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: Danek Duvall <duvall@comfychair.org>, zsh-users@zsh.org
Subject: Re: forbidden variable in for loop.
Date: Wed, 19 Dec 2012 08:03:13 -0800	[thread overview]
Message-ID: <50D1E541.5030209@eastlink.ca> (raw)
In-Reply-To: <20121219235850.GB15388@lorien.comfychair.org>

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.


  reply	other threads:[~2012-12-20  0:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 15:22 Ray Andrews
2012-12-19 23:58 ` Danek Duvall
2012-12-19 16:03   ` Ray Andrews [this message]
2012-12-20  6:44     ` Function not found czech
2012-12-20  9:03       ` Brandon Sandrowicz
2012-12-20 11:02       ` Jérémie Roquet
2012-12-21 18:11         ` Bart Schaefer
2012-12-20  0:04 ` forbidden variable in for loop Frank Terbeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50D1E541.5030209@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=duvall@comfychair.org \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).