Robert Neville wrote:
> 
> What is the maximum string length for a ksh variable? Is it page size,
> 64k, unlimited or something else?

Maximum string length and array size in ksh93 is only limited by
available memory or address space, e.g. at least 2^31bytes for 32bit
processes or >= 2^63bytes for 64bit platforms (we deliver both 32bit and
64bit versions of ksh93 in Solaris, the default will be 64bit if the
machine+OS are running in 64bit mode...).

ksh88 in Solaris is slightly different, AFAIK there is an array size
limit of 4096 entries and string length was AFAIK limited, too (but I am
not sure... maybe I am wrong...).

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to