Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: grep with color module of perl

by Fletch (Bishop)
on Aug 05, 2024 at 05:43 UTC ( [id://11160869]=note: print w/replies, xml ) Need Help??


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 (Beadle) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11160869]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-09-13 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.