Subject: Re: Re: [ksh93-integration-discuss] Maximum string length in ksh? --------
> > > > In ksh93n (released in 2002), the indexed array size was changed to > > 67,108,863 > . > > although it was incorrectly documented as 16Megs. > > Just curious: Why is there a limit ? > At this point not a very good reason. The shell will allocate at least n*sizeof(void*) bytes for an array whose larges element is n. By having a limit, the shel can catch erroneous allocation sizes and in some cases prevent the process from running out of memory. David Korn dgk at research.att.com