News for hackers. Stuff that matters.
Re:Show HN: Tailspin – A Log File Highlighter by loudmax on Thursday November 02, 2023 @09:11AM (#38113041)
This is how I colorize with grep:

  cat <file> | grep -E --color "<regex>|$"
Where `<regex>` is your pattern.
Re:Show HN: Tailspin – A Log File Highlighter by ralgozino on Thursday November 02, 2023 @09:28AM (#38113233)
adding "or an end of the line" to the regex is pretty clever, I'm stealing it :) thanks!
Re:Show HN: Tailspin – A Log File Highlighter by quickthrower2 on Friday November 03, 2023 @04:47AM (#38126071)
Obligatory “you don’t need cat”