Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 23:16:24 -0500
From:      Krzysztof Parzyszek <kristof@swissmail.org>
To:        Sean McNeil <sean@mcneil.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Is sed broken?
Message-ID:  <20020626231624.A11959@trinity.scl.ameslab.gov>
In-Reply-To: <1025144305.69952.2.camel@blue.mcneil.com>; from sean@mcneil.com on Wed, Jun 26, 2002 at 07:18:24PM -0700
References:  <1025144305.69952.2.camel@blue.mcneil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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