Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: ack 2.0 has been released

by petdance (Parson)
on Apr 29, 2013 at 14:17 UTC ( #1031216=note: print w/ replies, xml ) Need Help??


in reply to Re: ack 2.0 has been released
in thread ack 2.0 has been released

I've been experimenting by setting a shell alias "grep" to point to ack 2.0.

I suggest that you not do that. ack and grep are different tools. ack is not a replacement for grep. If you need to use grep, then use grep. If you need to use ack, then use ack.

xoxo,
Andy


Comment on Re^2: ack 2.0 has been released
Replies are listed 'Best First'.
Re^3: ack 2.0 has been released
by tobyink (Abbot) on May 01, 2013 at 06:55 UTC

    That's precisely why I set up the alias. For years, when I've needed to use something like ack, I've typed "grep" (muscle memory). The alias ensures that now, when I need to use ack, I get ack.

    It's not like I've deleted /bin/grep and installed a symlink to ack; other users, shell scripts, etc, can still use the real grep.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2015-07-08 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (96 votes), past polls