On 4/19/19 4:21 AM, Ole Tange wrote:

> 
> Reading https://www.gnu.org/prep/standards/standards.html#Semantics
> 
> """Avoid arbitrary limits on the length or number of any data
> structure, including file names, lines, files, and symbols, by
> allocating all data structures dynamically."""
> 
> You could argue that Bash being a GNU tool, it should do like Perl:
> Run out of memory before failing.

You've obviously overlooked the FUNCNAME variable and its effects, but
I am curious about this point. Why do you think bash would exceed some
kind of memory resource limit before it exceeds a stack size limit? Or
is it supposed to use an out-of-memory message as a generic default?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to