Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-09-15 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (147 votes), past polls