[Bug 8871] New: sed fails to escape newline

bugzilla at busybox.net bugzilla at busybox.net
Thu Apr 21 17:47:32 UTC 2016


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

            Bug ID: 8871
           Summary: sed fails to escape newline
           Product: Busybox
           Version: 1.24.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: elifarley at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

If I run the command below using BusyBox in Alpine Linux 3.3, a '\' followed by
the letter 'n' is printed by sed:

sed -i '1 i\execute pathogen#infect()\ncall pathogen#helptags()\n'
"$HOME"/.vimrc

When using sed proper, '\n' is printed as a newline character instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list