Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 1996 11:53:46 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        mike@networx.ie
Cc:        questions@FreeBSD.org
Subject:   Re: Bug in /bin/sh
Message-ID:  <199607021853.LAA08602@phaeton.artisoft.com>
In-Reply-To: <ECS9607021715A@networx.ie> from "Michael Ryan" at Jul 2, 96 05:20:15 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Can anybody confirm that there is a bug in /bin/sh in FreeBSD v2.1,
> which the following commands illustrate...

[ ... ]

I am suspicious of these lines:

>    test $1 = abc && {
[ ... ]
>    there is no command called "there" &

As far as I know, "there" isn't a command...

I suspect the backgrounding is causing the function to return twice.

The "&&" is odd.


Shell bugs are being collected by Joerg Wunsch (joerg@freebsd.org),
and he keeps threatening to fix them all in the problem report logs.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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