for loop with variable

Ray Andrews <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <[email protected]>
% var=" a b c "

% for aa in $=var; do echo $aa; done
a
b
c

% for aa in [a-c]; do echo $aa; done
c

... In the last 'for' it wants to find files whereas in the previous it 
knows it's looking at text.  Could the previous be done on one line?  
That is, the range '[a-c]' would be understood to be just text, not a 
file glob?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.