I want to view text (could be a file or a piped command output) in the terminal, but I would like to highlight a specific pattern in the text with colors, similarly to how
grep highlights the pattern match in its output lines.
The reason why I can't use standard
grep "pattern" /path/to/file here is because I want to view the entire text (ideally scrollable as if piped through
less) and not just the lines containing the pattern.