Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 1995 07:54:54 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        jc@irbs.com (John Capo)
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: Shell bug
Message-ID:  <199509210554.HAA14447@uriah.heep.sax.de>
In-Reply-To: <199509202157.RAA08702@irbs.irbs.com> from "John Capo" at Sep 20, 95 05:57:38 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As John Capo wrote:
> 
> This will `Memory fault' on the fifth iteration:
> 
>     while { sleep 1 & wait ; } ; do
>     ...
> 
> It appears that { anything & wait ; } is a problem.

This is not to neglect the bug, but:

$ while { sleep 1 & wait ; } ; do
> echo fine
> done
fine
fine
fine
fine
fine
fine
fine
fine
fine
fine
fine
^C
[1] 14429 Exit 0              sleep 1
[2] 14430 Exit 0              sleep 1
[3] 14431 Exit 0              sleep 1
[4] 14432 Exit 0              sleep 1
[5] 14433 Exit 0              sleep 1
[6] 14434 Exit 0              sleep 1
[7] 14435 Exit 0              sleep 1
[8] 14436 Exit 0              sleep 1
[9] 14437 Exit 0              sleep 1
[10] 14438 Exit 0             sleep 1
[11] 14439 Exit 0             sleep 1


-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509210554.HAA14447>