Busybox/ed crashes with illegal instruction
When trying to delete from a line, ed (via busybox) crashes (this is on x86_x64, but possible other platforms too). A simple test case:
[core-ssh ~]$ echo "# test" > test
[core-ssh ~]$ ed test
"test", 1 lines, 7 chars
: s/#//
Trace/breakpoint trap (core dumped)
Similar testcase:
$ docker run -it alpine
/ # echo "# test" > test
/ # ed test
"test", 1 lines, 7 chars
: s/#//
Illegal instruction (core dumped)