Thanks for the info. But, the method you proposed is a post-processing
technique, I would like a method where it would actively show on the
terminal/shell.

-GC

On Fri, Oct 6, 2017 at 6:54 AM, Kaushal Modi <[email protected]> wrote:

> On Fri, Oct 6, 2017, 9:49 AM Garrett Chan <[email protected]> wrote:
>
>> Hi,
>>
>> Is there a way to highlight a certain string as it appears on the
>> terminal/shell? As I'm running my script I would like it to highlight a
>> string like "PASS" or "FAIL", instead of parsing through the log file.
>>
>
> I just use ack --passthru for that. That is one feature, I believe, ag
> (the silver searcher) or rg (ripgrep) don't have.
>
> Just pipe your command output to ack. Here's a search result:
> http://powdahound.com/2009/10/colorize-log-output-with-ack/
>
>> --
>
> Kaushal Modi
>



-- 
Best Regards,

*Garrett Chan*
*310-880-0674*

* <https://www.linkedin.com/pub/garrett-chan/4b/734/189>*

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to