bug-gnulib
[Top][All Lists]
Advanced

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

Re: Colored output


From: Akim Demaille
Subject: Re: Colored output
Date: Sun, 27 Jan 2019 19:44:51 +0100

Hi Jim!

> Le 27 janv. 2019 à 17:22, Jim Meyering <address@hidden> a écrit :
> 
> Hi Akim,
> I too would start with coreutils, noting that one must be careful to
> handle signals, so that the terminal is not left in a bad state when
> output is interrupted between a pair of set/reset escape sequences.
> https://git.savannah.gnu.org/cgit/coreutils.git/tree/src/ls.c#n1303
> Today I was surprised to see that while grep and recent diffutils also
> have --color support, grep lacks the signal-handling code that is
> present in both coreutils and diffutils.

Good point, thanks for heads up!




reply via email to

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