From owner-freebsd-stable Wed Oct 23 8:26: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2B4137B401 for ; Wed, 23 Oct 2002 08:26:05 -0700 (PDT) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED1843E4A for ; Wed, 23 Oct 2002 08:26:04 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 184NNx-0003Ou-00; Wed, 23 Oct 2002 22:25:29 +0700 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 184NNM-0003Bz-00; Wed, 23 Oct 2002 22:24:52 +0700 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id g9NFOiFG061652; Wed, 23 Oct 2002 22:24:44 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id g9NFOhnf061651; Wed, 23 Oct 2002 22:24:43 +0700 (NSS) Date: Wed, 23 Oct 2002 22:24:43 +0700 From: Max Khon To: Stephan van Beerschoten Cc: stable@freebsd.org Subject: Re: /bin/sh change many errors Message-ID: <20021023222443.A61571@iclub.nsu.ru> References: <20021023095856.GC22455@enigma.whacky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021023095856.GC22455@enigma.whacky.net>; from stephanb@whacky.net on Wed, Oct 23, 2002 at 11:58:56AM +0200 X-Envelope-To: stephanb@whacky.net, stable@freebsd.org X-Spam-Status: No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20 X-Spam-Level: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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