From owner-freebsd-bugs Fri Feb 8 18:11:49 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B959F37B419; Fri, 8 Feb 2002 18:11:47 -0800 (PST) Received: (from ashp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g192A8020136; Fri, 8 Feb 2002 18:10:08 -0800 (PST) (envelope-from ashp) Date: Fri, 8 Feb 2002 18:10:08 -0800 (PST) From: Message-Id: <200202090210.g192A8020136@freefall.freebsd.org> To: mjanosi@uakron.edu, ashp@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/26153: sed G does not double space Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: sed G does not double space State-Changed-From-To: open->feedback State-Changed-By: ashp State-Changed-When: Fri Feb 8 18:09:47 PST 2002 State-Changed-Why: Can you try the following patch (stolen from NetBSD) and see if it helps you at all? Seems to work here. --- process.c.orig Fri Feb 8 20:56:37 2002 +++ process.c Fri Feb 8 21:06:06 2002 @@ -149,6 +149,8 @@ cspace(&PS, hs, hsl, REPLACE); break; case 'G': + if (hs == NULL) + cspace(&HS, "\n", 1, REPLACE); cspace(&PS, hs, hsl, 0); break; case 'h': http://www.FreeBSD.org/cgi/query-pr.cgi?pr=26153 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message