Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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.


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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031216]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2018-03-18 11:00 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (230 votes). Check out past polls.