Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/usr.bin/sed



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.




Home | Main Index | Thread Index | Old Index