On 5 Sep 2002, Ian C. Blenke wrote:
> On Thu, 2002-09-05 at 15:04, Smitty wrote:
>
> #!/bin/sh
> LIMIT=10
> for((n=1; n <= LIMIT ; n++)) ; do
> command
> done
>
> Yes, you actually can use C-like syntax within double-parenthesis.
That is bash specific. Won't work on other platforms with a more
traditional bourne shell implementation.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:57:40 EDT