From owner-freebsd-hackers Tue Mar 7 3:33:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id D1DAE37BCE3 for ; Tue, 7 Mar 2000 03:33:19 -0800 (PST) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 7 Mar 2000 11:33:18 +0000 (GMT) To: chet@po.CWRU.Edu Cc: imp@village.org, jhix@mindspring.com, Doug@gorean.org, hackers@FreeBSD.ORG Subject: Re: empty lists in for In-reply-to: Your message of "Mon, 06 Mar 2000 17:13:30 EST." <1000306221330.AA36812.SM@nike.ins.cwru.edu> Date: Tue, 07 Mar 2000 11:33:17 +0000 From: Ian Dowse Message-ID: <200003071133.aa35295@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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