From owner-freebsd-hackers Mon Feb 21 8:10:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 750F337BB7F for ; Mon, 21 Feb 2000 08:10:32 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id WAA37014 for ; Mon, 21 Feb 2000 22:10:15 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Date: Mon, 21 Feb 2000 22:10:15 +0600 (NS) From: Max Khon To: hackers@freebsd.org Subject: empty lists in for Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, there! I'm trying to port FreeBSD ports subsystem to Solaris and Linux (for our company internal needs). many for's in bsd.port.mk are expanded into for's with empty word list (e.g.: for i in ; do smth; done). bash and ksh complain about unexpected ';'. /bin/sh (FreeBSD) thinks it's ok and does nothing. Which behaviour is more POSIXly correct? /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message