From owner-freebsd-hackers Mon Mar 6 0:29:10 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 9D2C237BCA7 for ; Mon, 6 Mar 2000 00:28:26 -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 OAA96774; Mon, 6 Mar 2000 14:25:16 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Date: Mon, 6 Mar 2000 14:25:16 +0600 (NS) From: Max Khon To: Chris Costello Cc: Sheldon Hearn , hackers@FreeBSD.org Subject: Re: empty lists in for In-Reply-To: <20000305234210.A4990@holly.calldei.com> 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! On Sun, 5 Mar 2000, Chris Costello wrote: > ksh doesn't claim to be POSIX compliant? > > "ksh is intended to conform to the Shell Language Standard > developed by the IEEE POSIX 1003.2 Shell and Utilities Language > Committee." > -- http://www.kornshell.com/info/ > > And on a FreeBSD-compiled binary of the real AT&T ksh code: > > $ echo ${.sh.version} > Version M 1993-12-28 i > $ for i in ; do echo $i; done > $ However, under Solaris 2.6: clone$uname -a SunOS clone 5.6 Generic_105181-13 sun4u sparc SUNW,Ultra-1-Engine clone$/bin/ksh clone$for i in ; do echo $i; done /bin/ksh: syntax error: `;' unexpected clone$ /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message