Subject: Re: CVS commit: basesrc/usr.bin/sed
To: None <atatat@netbsd.org>
From: Charles M. Hannum <abuse@spamalicious.com>
List: source-changes
Date: 09/29/2001 13:54:11
On Fri, 2001-09-28 at 21:12, Andrew Brown wrote:
>
> Module Name: basesrc
> Committed By: atatat
> Date: Fri Sep 28 21:12:04 UTC 2001
>
> Modified Files:
> basesrc/usr.bin/sed: process.c
>
> Log Message:
> New fix for PR bin/14074. This one doesn't make sed hang.
This change is not correct either. From the man page:
[2addr]D
Delete the initial segment of the pattern space through the first
newline character and start the next cycle.
Just doing a `break' there causes it to continue running the script,
*not* start the next cycle. The `psl==0' case is the same as the `pd'
case.