Re: [PATCH] - vi: Append a newline to opened files that don't already end in one

2024-01-10 Thread Ron Yorston
There was another, similar patch for this issue last year: http://lists.busybox.net/pipermail/busybox/2023-April/090272.html Ron ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

[PATCH] - vi: Append a newline to opened files that don't already end in one

2024-01-09 Thread David Stumph
Package: busybox Version: master Severity: bug Hello all, I found a bit of broken behavior when `busybox vi` is used on a file that doesn't end in a newline. If you go to the last line of the file and type "o", the new line that opens below it contains the last character of the previous line. Th