From owner-freebsd-hackers Tue Mar 7 9:16:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id B78C937BBC9 for ; Tue, 7 Mar 2000 09:16:27 -0800 (PST) (envelope-from dscheidt@enteract.com) Received: from shell-1.enteract.com (dscheidt@shell-1.enteract.com [207.229.143.40]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id LAA79060; Tue, 7 Mar 2000 11:14:37 -0600 (CST) (envelope-from dscheidt@enteract.com) Date: Tue, 7 Mar 2000 11:14:37 -0600 (CST) From: David Scheidt To: Chris Costello Cc: Max Khon , Sheldon Hearn , hackers@FreeBSD.ORG Subject: Re: empty lists in for In-Reply-To: <20000306090040.C4990@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 On Mon, 6 Mar 2000, Chris Costello wrote: > On Monday, March 06, 2000, Max Khon wrote: > > 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$ > > It is likely you are running the ksh88 version, which has > quite a few ``pre-POSIX'' features. Try this command to see > whether you have ksh88 or ksh93: > > echo ${.sh.version} > > If you have ksh93, you'll see something like > > Version M 1993-12-28 i > > Perhaps with a different letter at the end (`i' is the source > release). I believe you'll get an error or nothing if it's > ksh88. esc-M ctrl-V will give you version info, at least in ksh88. Neither HP nor Solaris appear to use ksh93. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message