Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2000 22:10:15 +0600 (NS)
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        hackers@freebsd.org
Subject:   empty lists in for
Message-ID:  <Pine.BSF.4.21.0002212205230.36736-100000@iclub.nsu.ru>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002212205230.36736-100000>