Hacker News new | ask | show | jobs
by burntsushi 1286 days ago
For log colorizing, here's the approximate equivalent of that blog post for ripgrep:

    cat UNLICENSE 
      | rg --passthru --color always --colors 'match:fg:red' public 
      | rg --passthru --color always --colors 'match:fg:green' heirs 
      | rg --passthru --color always --colors 'match:fg:cyan' benefit