[Bug 6584] New: sed: append fail to autoinsert newline

bugzilla at busybox.net bugzilla at busybox.net
Wed Oct 23 09:02:28 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6584

           Summary: sed: append fail to autoinsert newline
           Product: Busybox
           Version: 1.22.x
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: jackie.huang at windriver.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Problem Description
======================
sed: append fail to autoinsert newline

$ echo -ne "woot" | busybox sed '/woot/a woo'
wootwoo

Expected Behavior
======================
$ echo -ne "woot" | busybox sed '/woot/a woo'
woot
woo

looks like it is a known issue?
in testsuite/sed.tests:
test x"$SKIP_KNOWN_BUGS" = x"" && {
testing "sed append autoinserts newline" "sed -e '/woot/a woo' -" \
        "woot\nwoo\n" "" "woot"
}

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list