On 22 June 2012 21:52, David Korn <d...@research.att.com> wrote:
> Subject: Re: [ast-developers] read: -N: limit exceeded
> --------
>
>> Why is this limit? And can the limit be increased to at least 2**32 on
>> 64bit platforms?
>>
>> Lionel
>>
>
> It was that way to reserve compatibility with the sh_readline()
> interace.  However, since this isn't a public function (in <shell.h>)
> so I can change it.  Too late for ksh9u+; ksh93v.

OK. It'll be nice if read -nN and the size of binary variables have
the same limits (if any) as the maximum file size which can be passed
with a command substitution, i.e. x=$(). Some machines here work on
30TB/day datasets and a 2**23 size limit in a 64bit operating system
is a cruel joke, especially if you worked hard a whole month to get
something running, your application trips over such a limit and you
don't have a quick workaround and have to redesign the whole thing in
JAVA or python.

Lionel

_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to