[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash for loop errorr
From: |
Chet Ramey |
Subject: |
Re: bash for loop errorr |
Date: |
Wed, 23 May 2007 09:44:01 -0400 |
User-agent: |
Thunderbird 2.0.0.0 (Macintosh/20070326) |
Vikas Dube wrote:
> Hello,
> I am having GNU bash, version 2.03.0(1)-release (sparc-sun-solaris2.6),
> while executing for loop
> # for (( i=1; i<5 ; i++ )) ; do echo $i ; done
> I am getting error
> bash: syntax error near unexpected token `(('
That construct was not added to bash until version 2.04.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/