bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recursively calling a bash script goes undetected and eats all syste


From: Diggory Hardy
Subject: Re: Recursively calling a bash script goes undetected and eats all system memory
Date: Fri, 10 Dec 2010 16:00:30 +0100
User-agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.5.3; x86_64; ; )

On Friday 10 December 2010 Greg Wooledge wrote:
> On Fri, Dec 10, 2010 at 03:23:46PM +0100, Diggory Hardy wrote:
> > What if bash were only to allow scripts to call themselves with exec?
> 
> You can't prevent programmers from writing horrible code.  At some point,
> it isn't worth the effort even to try.
> 
No you can't.

To be frank sometimes I try to write nice code and sometimes I just try to hack 
something to do what I want. The more bugs an interpreter or compiler can catch 
the better though, particularly with regards to those who are not experts in a 
language.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]