From: Justin Sheehy <dworkin@k2.ccs.neu.edu>
To: zsh-users@math.gatech.edu
Subject: 'for' brokenness?
Date: Mon, 05 Aug 1996 11:04:54 -0400 [thread overview]
Message-ID: <199608051504.LAA15060@k2.ccs.neu.edu> (raw)
much strangeness here...
some uses of for are just exiting quietly, instead of the desired
behavior:
justin@caffeine:(~)% for i in *
justin@caffeine:(~)%
shouldn't that give me a 2nd level prompt at which I can enter my
do..list..done commands? instead I see exactly what I pasted above. It
just exits w/o doing anything. most forms of 'for' are doing this, but
'foreach' is working. wtf!?
justin@caffeine:(~/foo)% for i [ in * ]
justin@caffeine:(~/foo)% for i in *
justin@caffeine:(~/foo)% for i ( * )
justin@caffeine:(~/foo)% foreach i ( * )
> do
> echo $i
> done
1
2
3
4
justin@caffeine:(~/foo)%
justin@caffeine:(~/foo)% echo $VERSION
zsh 2.5.0
any ideas?
-Justin
reply other threads:[~1996-08-05 15:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=199608051504.LAA15060@k2.ccs.neu.edu \
--to=dworkin@k2.ccs.neu.edu \
--cc=dworkin@ccs.neu.edu \
--cc=zsh-users@math.gatech.edu \
/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).