Re: [50 character or so descriptive subject here (for reference)]
From:
Paul Jarc
Subject:
Re: [50 character or so descriptive subject here (for reference)]
Date:
Tue, 10 Jul 2001 10:15:54 -0400
User-agent:
Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7
Chet Ramey <chet@nike.ins.cwru.edu> writes:
>> when i do the following: for i in `yes` ; do date ; sleep 1 ; done
>>
>> bash crashes...
>
> This is a resource problem. Since `yes' never terminates, eventually
> you're going to run the bash process out of memory.
But bash need not crash because of it. If memory allocation fails,
free what you've taken so far, give an error message, and (if
interactive) continue reading commands.
paul