Roman Rakus wrote: > Chet Ramey wrote: >> y...@mx1.ru wrote: >> >> >>> Bash Version: 3.1 >>> Patch Level: 17 >>> Release Status: release >>> >>> Description: >>> Create a function that calls itself. Call it. You'll get >>> segfault. Expecting message on terminal. >>> >> >> That's not a good expectation. >> >> If you want to shoot yourself in the foot, bash will not stop you. >> > What about adding `maximum nested function level'? Counter already is > there (and don't used). And make it configurable like in zsh. I can > provide patch.
I'll take that up as a feature consideration for a future version. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/