Date: Tue, 22 Dec 1998 13:46:41 +0100 From: Martin Cracauer <cracauer@cons.org> To: Thomas David Rivers <rivers@dignus.com>, freebsd-hackers@freefall.cdrom.com Subject: Re: Interesting un-interruptible shell script on 3.0-RELEASE (possible sh bug?) Message-ID: <19981222134641.A12019@cons.org> In-Reply-To: <199812220243.VAA21066@lakes.dignus.com>; from Thomas David Rivers on Mon, Dec 21, 1998 at 09:43:24PM -0500 References: <199812220243.VAA21066@lakes.dignus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In <199812220243.VAA21066@lakes.dignus.com>, Thomas David Rivers wrote: > > Try the following on a 3.0-RELEASE system, under the bourne shell: > > while true > do > sleep 2 > done Sorry, this works for me. I'm on current, but sh didn't change since 3.0-RELEASE. What does this show? ktrace sh thisscript kdump | grep sleep BTW, an easier way to have an endless look is while : ; do sleep 2 ; done Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer BSD User Group Hamburg, Germany http://www.bsdhh.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981222134641.A12019>