[Bug 15081] New: ed bug files with few lines

bugzilla at busybox.net bugzilla at busybox.net
Sun Oct 30 18:49:40 UTC 2022


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

            Bug ID: 15081
           Summary: ed bug files with few lines
           Product: Busybox
           Version: 1.35.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: ricercar at tuta.io
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

seq 1 4 > file;busybox ed file
2i
test
.
w
q


Expect: Second line to be replaced with "test"
What happens: First line is replaced with "test"

If i use 'seq 1 6' or more instead it seems to work as expected, although I
havent tested much.

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


More information about the busybox-cvs mailing list