Date: Tue, 7 Mar 2000 11:14:37 -0600 (CST) From: David Scheidt <dscheidt@enteract.com> To: Chris Costello <chris@calldei.com> Cc: Max Khon <fjoe@iclub.nsu.ru>, Sheldon Hearn <sheldonh@uunet.co.za>, hackers@FreeBSD.ORG Subject: Re: empty lists in for Message-ID: <Pine.NEB.3.96.1000307111225.13402C-100000@shell-1.enteract.com> In-Reply-To: <20000306090040.C4990@holly.calldei.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.1000307111225.13402C-100000>
