tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] RFC: Colored warnings/errors ?


From: gz8cx4
Subject: Re: [Tinycc-devel] RFC: Colored warnings/errors ?
Date: Wed, 15 May 2024 13:07:16 +0200

On Wed, May 15, 2024 at 12:01:23PM +0200, Nicolas Sauzede wrote:
> using this filter:
> ```
> bred="\x1b[1;31m"
> bwhite="\x1b[1;37m"
> nrm="\x1b[0m"
> sed -e "s/\(error:\)/$bred\1$nrm/g" -e "s/\(^.*:.*:\)/$bwhite\1$nrm/g" -e
> "s/'\(.*\)'/'$bwhite\1$nrm'/g"
> ```
> And it works fine!

Nice that this works and thanks for sharing the solution!

/tccm



reply via email to

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