Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2000 14:25:16 +0600 (NS)
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        Chris Costello <chris@calldei.com>
Cc:        Sheldon Hearn <sheldonh@uunet.co.za>, hackers@FreeBSD.org
Subject:   Re: empty lists in for
Message-ID:  <Pine.BSF.4.21.0003061423380.96696-100000@iclub.nsu.ru>
In-Reply-To: <20000305234210.A4990@holly.calldei.com>

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




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