On 2026-04-13 11:30, dana wrote:
Cool. No need to reinvent the wheel. So many greps! I have the standard version but I'll download that. Now ... if there was a grep that permitted a sequential search ....On Mon 13 Apr 2026, at 11:56, Mark J. Reed wrote:If you are capturing the output of grep in a variable it won't do any coloring at all unless you force it with --color=always. I would normally leave it off when operating grep programmatically... not sure why you'd want to capture it.i assume it's an interactive wrapper for gnu grep that trims leading white space from the matched lines ripgrep has a --trim flag for this btw: