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

Replies are listed 'Best First'.
Re^3: ack 2.0 has been released
by tobyink (Canon) 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