Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Mar 2000 11:33:17 +0000
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        chet@po.CWRU.Edu
Cc:        imp@village.org, jhix@mindspring.com, Doug@gorean.org, hackers@FreeBSD.ORG
Subject:   Re: empty lists in for 
Message-ID:   <200003071133.aa35295@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Mon, 06 Mar 2000 17:13:30 EST." <1000306221330.AA36812.SM@nike.ins.cwru.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <1000306221330.AA36812.SM@nike.ins.cwru.edu>, Chet Ramey writes:

>> 	for f in $$empty_list ${SUBDIRS}; do ...

>Not bad, but will break if the shell is run with the `-u' option on
>for some reason.

Ok, how about:

	for f in $$IFS ${SUBDIRS}; do ...

Ian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200003071133.aa35295>