From owner-freebsd-stable Wed Jun 26 19:18:44 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 F3E9237B407 for ; Wed, 26 Jun 2002 19:18:22 -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 g5R2IOPY070027 for ; Wed, 26 Jun 2002 19:18:25 -0700 (PDT) (envelope-from sean@mcneil.com) Subject: Is sed broken? From: Sean McNeil To: stable@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 26 Jun 2002 19:18:24 -0700 Message-Id: <1025144305.69952.2.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 Hi everyone, 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? It isn't replacing the final h as I expected. If I add a space at the end, then it works: echo 'limits.h ' | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%' LIMITS_H Cheers, Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message