From owner-freebsd-bugs Tue Nov 6 12: 0:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B687737B62C for ; Tue, 6 Nov 2001 12:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA6K01W87564; Tue, 6 Nov 2001 12:00:01 -0800 (PST) (envelope-from gnats) Date: Tue, 6 Nov 2001 12:00:01 -0800 (PST) Message-Id: <200111062000.fA6K01W87564@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Quinot Subject: Re: bin/31627 sh(1) is broken - loss of data! Reply-To: Thomas Quinot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/31627; it has been noted by GNATS. From: Thomas Quinot To: Eugene Grosbein Cc: Thomas Quinot , Eugene Grosbein , stable@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: bin/31627 sh(1) is broken - loss of data! Date: Tue, 6 Nov 2001 20:51:13 +0100 Le 2001-11-06, Eugene Grosbein écrivait : > 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. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message