On Thu, Oct 15, 2009 at 10:11 AM, igor denisov
<denisovigor1...@rambler.ru> wrote:
> Hi there
>
> my version of ksh:
>
> $what /bin/ksh
>
> /bin/ksh
> B  B  B  B  Copyright (c) 1989, 1993
> B  B  B  B $OpenBSD: mknod.c,v 1.1 2005/10/06 06:39:36 otto Exp $
> B  B  B  B PD KSH v5.2.14 99/07/13.2
>
> I cannot figure out what is wrong with the following code
>
> #! /bin/ksh
> for (( i=9; i>0; i-- ))
> B do echo "$i"
> B done
>
> output:
> syntax error: '((' unexpected.
> why?
> regards
> --
> igor denisov.
>
>

the short answer would be 'ksh is not bash'


--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Reply via email to