Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 'for' loop question



On Feb 25,  3:44pm, Timothy J Luoma wrote:
> Subject: 'for' loop question
> 
> Can I do this in zsh?  It doesn't seem to be working:
> 
> 	SERVERS="rs.internic.net whois.arin.net whois.ripe.net  
> whois.apnic.net whois.nic.mil"

Remember SH_WORD_SPLIT!

> 	for i in $SERVERS
> 	do

	for i in $=SERVERS
	do



Messages sorted by: Reverse Date, Date, Thread, Author