Browse files

Merge branch 'master' of

  • Loading branch information...
petdance committed Jun 10, 2010
2 parents 78f15ab + 2154794 commit fdc23af17521b15cccdefaa43862ec98905e27e6
Showing with 21 additions and 0 deletions.
  1. +21 −0 Intro.pod
@@ -44,6 +44,14 @@ This is identical to:
=head2 Automatically ignore VCS directories
Are you tired of F<grep> finding matches in your CVS, Subversion
or Git directories? Even if no matches are found, searching those
directories never returns references in source code. ack automatically
ignores files contained in the directories for these popular version
control systems and many others. If your VCS doesn't have directories
already built into ack, you can add them by just adding C<--ignore-dir>
lines to your F<.ackrc> file.
=head2 Limit by language with C<--perl>, C<--html>, C<--sql> etc
=head2 Exclude languages with C<--noperl>, C<--nohtml>, C<--nosql> etc
@@ -61,6 +69,19 @@ searching your 'test' directory, use C<--ignore-dir=test/>.
=head2 Show context lines around the match with C<-A>, C<-B> and C<-C>
=head2 List only the filename with C<-l>
=head2 Open files that ack finds
Need to edit every perl file that calls a particular subroutine?
Let ack not only find the files for you (restricting the search to
perl files with the C<--perl> flag), but load them into your editor
by using either C<-l> or C<--files-with-matches>:
emacs $(ack -l --perl bad_subroutine)
=head2 F<~/.ackrc>

0 comments on commit fdc23af

Please sign in to comment.