From owner-freebsd-stable Wed Jun 26 22:42:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from blue.mcneil.com (cpe-66-75-176-109.socal.rr.com [66.75.176.109]) by hub.freebsd.org (Postfix) with ESMTP id C8F9E37B405 for ; Wed, 26 Jun 2002 22:42:25 -0700 (PDT) Received: from mcneil.com (mcneil.com [66.75.176.109]) by blue.mcneil.com (8.12.4/8.12.3) with ESMTP id g5R5gRPY063273; Wed, 26 Jun 2002 22:42:27 -0700 (PDT) (envelope-from sean@mcneil.com) Subject: Re: Is sed broken? From: Sean McNeil To: Krzysztof Parzyszek Cc: stable@FreeBSD.ORG In-Reply-To: <20020626231624.A11959@trinity.scl.ameslab.gov> References: <1025144305.69952.2.camel@blue.mcneil.com> <20020626231624.A11959@trinity.scl.ameslab.gov> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 26 Jun 2002 22:42:27 -0700 Message-Id: <1025156548.36685.1.camel@blue.mcneil.com> Mime-Version: 1.0 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 Great! Thanks. Seems like FreeBSD is better managed than a lot of projects I've worked on ;) On Wed, 2002-06-26 at 21:16, Krzysztof Parzyszek wrote: > 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