bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiline editing breaks if the previous output doesn't end in newli


From: Albert Vaca Cintora
Subject: Re: Multiline editing breaks if the previous output doesn't end in newline
Date: Sun, 30 Oct 2022 21:20:21 +0100

On Sun, Oct 30, 2022 at 7:54 AM Martin D Kealey <martin@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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]