Date: Sun, 10 Dec 1995 19:03:05 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: bjj@sequent.com (Ben Jackson) Cc: bugs@freebsd.org Subject: Re: bug in /bin/sh for loops Message-ID: <199512101803.TAA08119@uriah.heep.sax.de> In-Reply-To: <199510271006.DAA29250@crg8.sequent.com> from "Ben Jackson" at Oct 27, 95 03:06:55 am
next in thread | previous in thread | raw e-mail | index | archive | help
As Ben Jackson wrote: > > [FreeBSD 2.1.0 951005-SNAP] > > The appended shell script doesn't have the expected output. [...] > VAR=0 > for X in 1 2 3 > do > echo $VAR > VAR=$X > done > > VAR=0 > for X in 1 2 3 > do > echo $VAR > VAR=$X > /bin/ls > /dev/null & > done This has been fixed as a side-effect of applying the patch from PR #bin/880, in revision 1.10 of sh/parser.c. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE 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?199512101803.TAA08119>