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.

-- 
|Chris Costello <[EMAIL PROTECTED]>
|Know Thy User.
`----------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to