- Aug 16, 2001
- 523
- 0
- 0
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?
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?