in reply to grep with color module of perl

Probably Term::ANSIColor is what you’re looking for; that being said though ripgrep already exists (or App::Ack if you have to stay Perl for some reason).

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: grep with color module of perl
by hippo (Archbishop) on Aug 05, 2024 at 11:30 UTC
      you are like the history elder in movie 'Furiosa: A Mad Max Saga'!
Re^2: grep with color module of perl
by vincentaxhe (Scribe) on Aug 05, 2024 at 12:15 UTC
    Ack is worthy digging, but it seems the only way to use it as an system command, I donot want fork anything.