From owner-freebsd-stable Wed Jun 26 21:20:20 2002 Delivered-To: freebsd-stable@freebsd.org Received: from trinity.scl.ameslab.gov (trinity.scl.ameslab.gov [147.155.137.125]) by hub.freebsd.org (Postfix) with ESMTP id B492F37B41D for ; Wed, 26 Jun 2002 21:16:13 -0700 (PDT) Received: from trinity.scl.ameslab.gov (localhost [127.0.0.1]) by trinity.scl.ameslab.gov (8.12.4/8.12.4) with ESMTP id g5R4GXsu011995; Wed, 26 Jun 2002 23:16:33 -0500 (CDT) (envelope-from kparz@trinity.scl.ameslab.gov) Received: (from kparz@localhost) by trinity.scl.ameslab.gov (8.12.4/8.12.4/Submit) id g5R4GOce011994; Wed, 26 Jun 2002 23:16:24 -0500 (CDT) Date: Wed, 26 Jun 2002 23:16:24 -0500 From: Krzysztof Parzyszek To: Sean McNeil Cc: stable@FreeBSD.ORG Subject: Re: Is sed broken? Message-ID: <20020626231624.A11959@trinity.scl.ameslab.gov> References: <1025144305.69952.2.camel@blue.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1025144305.69952.2.camel@blue.mcneil.com>; from sean@mcneil.com on Wed, Jun 26, 2002 at 07:18:24PM -0700 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 Wed, Jun 26, 2002 at 07:18:24PM -0700, Sean McNeil wrote: > > I've upgraded to latest cvs 4.6-STABLE and I see something that doesn't > look right: > > echo 'limits.h' | sed > 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%' > LIMITS_h > > Is this correct? No. There was a bug reintroduced today. Go to /usr/src/usr.bin/sed/process.c, line 248 and change `--len' to `len--' in the for loop. Then `make && make install'. Check out http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/sed/process.c Krzysztof To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message