Date: Mon, 25 Aug 2003 15:56:12 -0700 (PDT) From: Doug White <dwhite@gumbysoft.com> To: Eugene Grosbein <eugen@kuzbass.ru> Cc: bug-followup@FreeBSD.ORG Subject: Re: bin/55346: /bin/sh eats memory and CPU infinitely Message-ID: <20030825155537.B10668@carver.gumbysoft.com> In-Reply-To: <3F4A02E8.F80F62A7@kuzbass.ru> References: <20030815211321.A11482@grosbein.pp.ru> <20030824185618.GA3837@HAL9000.homeunix.com> <3F4A02E8.F80F62A7@kuzbass.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Aug 2003, Eugene Grosbein wrote: > > The general problem you're complaining about (here and earlier) is > > that /bin/sh only checks for the termination of backgrounded > > children when it displays a prompt, and of course it doesn't do > > that in the middle of a while loop. I don't know what the various > > standards have to say about this, but the behavior is probably > > just a bug. > > Yes it is. Both bash and zsh do not behave so. try 'set -b'. The man page says its unimplmented, but its worth a spin. That or feel free to implement it :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030825155537.B10668>