Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Top 10 reasons to start using ack

by Ovid (Cardinal)
on Nov 30, 2006 at 13:42 UTC ( #586933=note: print w/replies, xml ) Need Help??

in reply to Top 10 reasons to start using ack

I love ack, but I'd strongly recommend .ackrc support. For example, one project I work on has non-standard extensions for Perl files, so ack doesn't recognize them as being Perl. It would be nice to have an .ackrc so that I can provide those extra extensions to add on to ack file recognition or to specify default switches. Of course, this would require an extra switch to ack to ensure that the .ackrc is not read, if necessary.

It would be a nice feature for prove, also. The vast majority of time I just type prove -l t. For prove, you could ignore the .proverc if you have any arguments. For ack, you could ignore the .ackrc if you have more than one argument.


New address of my CGI Course.

Replies are listed 'Best First'.
Re^2: Top 10 reasons to start using ack
by legLess (Hermit) on Nov 30, 2006 at 17:44 UTC

    ack is really nice; just this morning I've started using it in favor of my bash wrappers around grep. I agree with Ovid, though -- .ackrc support would be super-keen. ACK_SWITCHES is good, but say I want a different set of options per project?

    Minor quibble, though. Nice work, petdance.

    man with no legs, inc.
Re^2: Top 10 reasons to start using ack
by petdance (Parson) on Dec 01, 2006 at 13:58 UTC
    Really what you're asking for is not .ackrc support, but support for specifying filetypes.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2022-05-22 15:20 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (80 votes). Check out past polls.