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

Gary Mills mills at cc.umanitoba.ca
Thu Apr 28 10:47:05 PDT 2011


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-



More information about the Developer mailing list