help-bash
[Top][All Lists]
Advanced

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

Re: Printing in red during output from head


From: Alex fxmbsw7 Ratchev
Subject: Re: Printing in red during output from head
Date: Thu, 22 Jul 2021 16:53:33 +0200

u'r right :)

On Thu, Jul 22, 2021, 16:52 Chris Elvidge <celvidge001@gmail.com> wrote:

> On 22/07/2021 02:22 pm, Alex fxmbsw7 Ratchev wrote:
> > sed -r $'s/^(==>)(.*)(<==)$/\e[31m\\1\\2\\3\e[m/g'
>
> You don't need the g at the end (I think)
>
> --
> Chris Elvidge
> England
>
>
>


reply via email to

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