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

Re: Top 10 reasons to start using ack

by Ovid (Cardinal)
on Nov 30, 2006 at 13:42 UTC ( [id://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.

Cheers,
Ovid

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.

    xoxo,
    Andy

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (None)
    As of 2024-04-25 01:31 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found