[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    [Bug 6584] New: sed: append fail to autoinsert newline
From:       bugzilla () busybox ! net
Date:       2013-10-23 9:02:28
Message-ID: bug-6584-161 () https ! bugs ! busybox ! net/
[Download RAW message or body]

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@busybox.net
        ReportedBy: jackie.huang@windriver.com
                CC: busybox-cvs@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.
_______________________________________________
busybox-cvs mailing list
busybox-cvs@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic