Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 11:58:56 +0200
From:      Stephan van Beerschoten <stephanb@whacky.net>
To:        stable@freebsd.org
Subject:   /bin/sh change many errors
Message-ID:  <20021023095856.GC22455@enigma.whacky.net>

next in thread | raw e-mail | index | archive | help
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.

With regards,
 Stephan

-- 
Stephan van Beerschoten [SVB21-RIPE]       stephanb@whacky.net
  PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
     "To err is human, to forgive is Not Company Policy"

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?20021023095856.GC22455>