Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 22:24:43 +0700
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        Stephan van Beerschoten <stephanb@whacky.net>
Cc:        stable@freebsd.org
Subject:   Re: /bin/sh change many errors
Message-ID:  <20021023222443.A61571@iclub.nsu.ru>
In-Reply-To: <20021023095856.GC22455@enigma.whacky.net>; from stephanb@whacky.net on Wed, Oct 23, 2002 at 11:58:56AM %2B0200
References:  <20021023095856.GC22455@enigma.whacky.net>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Wed, Oct 23, 2002 at 11:58:56AM +0200, Stephan van Beerschoten wrote:

> I upgraded several production machines to 4.7 yesterday. After reading
> the release notes I was affraid that the userland change to /bin/sh
> might give me some trouble.
> 
> $ echo bla & && echo again
> Syntax error "&&" unexpected
> 
> The relnotes tell me this is now the new behaviour for sh, but
> unfortunately it breaks a lot of rc.d startscripts that all have this
> construction in place.
> 
> MySQL and Freevrrpd are 2 examples that use this. What is the easiest
> way to get around this ? I assume I'm not the first to report this, so a
> link to another resource wil lbe just fine.

change it to

echo bla &
echo again

/fjoe


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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