On Sun, Oct 30, 2022 at 7:54 AM Martin D Kealey <mar...@kurahaupo.gen.nz> wrote: > > This sounds like a bug in whatever is producing the output. POSIX text files > have a newline terminating every line; that description includes streams > going through pipes and tty devices if they purport to be text. >
There are many reasons why one could end up with text in a terminal that doesn't end in a newline. A couple of them are: - An app is killed in the middle of writing its output (eg: because of a sigterm/sigkill). - A file that isn't a POSIX text file is printed to the terminal. So I think this should still be handled by bash.