Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 20:51:13 +0100
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        Eugene Grosbein <eugen@grosbein.pp.ru>
Cc:        Thomas Quinot <thomas@cuivre.fr.eu.org>, Eugene Grosbein <eugen@svzserv.kemerovo.su>, stable@freebsd.org, freebsd-gnats-submit@freebsd.org
Subject:   Re: bin/31627 sh(1) is broken - loss of data!
Message-ID:  <20011106205113.A37311@melusine.cuivre.fr.eu.org>
In-Reply-To: <20011107010020.A19952@grosbein.pp.ru>; from eugen@grosbein.pp.ru on Wed, Nov 07, 2001 at 01:00:20AM %2B0700
References:  <3BE8125B.E7DA340C@svzserv.kemerovo.su> <20011106181834.A23607@melusine.cuivre.fr.eu.org> <20011107010020.A19952@grosbein.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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-stable" in the body of the message




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