Folks,
I have peculiar kind of error. my script goes like
cat inputfile> while read param
do
Array[$i]=$param
y=`expr $y + 1`
done
Output:-
array[1]=line1
array[2]=line2
array[3]=line3
.
.
.
.
array[4095]=line
ksh: script out of range
When i run script passing very large input file. script abends in the middle of execution saying "ksh: script out of range"
Possible reason is max array element size is 4095 which is exceeded in my case. Now my question, is there any settings in shell which i can use to increase the max array element size.
Guys please post ur suggestions.
Thanks!
Sharif.S