[illumos-Developer] Webrev for bug 900: sed errors when -e is given a 0-length argument

Robert Gordon rbg at openrbg.com
Thu Apr 28 11:01:27 PDT 2011


LGTM. 

Robert. 


On Apr 28, 2011, at 12:47 PM, Gary Mills wrote:

> On Thu, Apr 28, 2011 at 11:05:27AM -0500, Gary Mills wrote:
>> 
>> In that case, I will submit another webrev with `asprintf' this time.
> 
> And, here it is:
> 
>    http://cr.illumos.org/view/g4m9wrfy/illumos900-2/
> 
> For completeness, here are the tests with this one:
> 
>    $ echo foo | ./sed -e 's/oo/00/'
>    f00
>    $ echo foo | ./sed -e ''        
>    foo
>    $ echo foo | ./sed ''   
>    foo
> 
> -- 
> -Gary Mills-        -Unix Group-        -Computer and Network Services-
> 
> _______________________________________________
> Developer mailing list
> Developer at lists.illumos.org
> http://lists.illumos.org/m/listinfo/developer




More information about the Developer mailing list