bash limits ?

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Thu Sep 9 17:20:32 UTC 2004


On Thu, Sep 09, 2004 at 07:33:15PM -0400, Peter L. Peres wrote:
> 
> Hi, where do I find the limits with which bash was compiled ? For older 
> and newer bashes ? I believe that I am trying to do something that exceeds 
> a hard compiled limit in bash and it fails in mysterious ways. 
> Specifically I have variables that contain lists of thousands of numbers. 
> Some of them seem to disappear ...
> 
> So what is the maximum number of arguments that can be passed to a for ... 
> construct, or their maximum length ? And what are the other limits ?

Bash has no limit on arrays, variables, builtins, any internal expansion
or construct, etc.  Post your suspect code.

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>
Open Geometry Consulting, Toronto, Canada
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list