• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

short korn script help

KahunaHube

Senior member
Hi all,

I'm a newb at shell scripting. was wondering if anyone could help me out.

I just need to run a shell command 10,000 times for testing under korn shell

so far I have

#! /usr/bin/ksh

i=0;
while [[ $i -lt 10 ]];
do
print I is $i
i=$i+1
done

the problem is its treating i like a string and concatanating the +1 to it.

Can anyone help?
 
Back
Top