From owner-freebsd-stable Tue Nov 6 20:33:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id 919E737B416; Tue, 6 Nov 2001 20:33:42 -0800 (PST) Received: (from eugen@localhost) by D00015.dialonly.kemerovo.su (8.11.6/8.11.4) id fA74M2x00835; Wed, 7 Nov 2001 11:22:02 +0700 (KRAT) (envelope-from eugen) Date: Wed, 7 Nov 2001 11:22:02 +0700 From: Eugene Grosbein To: Thomas Quinot Cc: stable@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/31627 sh(1) is broken - loss of data! Message-ID: <20011107112202.A524@grosbein.pp.ru> References: <3BE8125B.E7DA340C@svzserv.kemerovo.su> <20011106181834.A23607@melusine.cuivre.fr.eu.org> <20011107010020.A19952@grosbein.pp.ru> <20011106205113.A37311@melusine.cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011106205113.A37311@melusine.cuivre.fr.eu.org>; from thomas@cuivre.fr.eu.org on Tue, Nov 06, 2001 at 08:51:13PM +0100 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 On Tue, Nov 06, 2001 at 08:51:13PM +0100, Thomas Quinot wrote: > > I still get unexpected results: > You are absolutely right. My tests succeeded because I tried your > script on -CURRENT, where this bug was fixed a few weeks ago. > The fix to -STABLE was MFC'd last week: > > Revision 1.31.2.3 > Branch: RELENG_4 > > MFC: BASESYNTAX, DQSYNTAX, SQSYNTAX and ARISYNTAX handles negative > indexes. > Allow those to be used to properly quote characters in the shell > control character range. > > PR: 31627 > > so updating your /bin/sh with the latest -STABLE version should resolve > your problem. I've updated to -STABLE and this works now as expected. Thank you very much. PR should be closed now. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message