Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I'm interested, because using :grep in vim fills up my buffer list with blib/lib files.

    If I could get :grep --exclude to work, I might be less interested.

    What's the correct way to use grep --exclude to exclude blib/lib files? I can never get it to work.
    • The current release of GNU grep can't do it.

      The CVS tree has support for a new option --exclude-dir, which will allow you to put things like these into your $GREP_OPTIONS environment variable:

      • --exclude-dir=blib
      • --exclude-dir=.svn
      • --exclude-dir=CVS

      Though, that said, it's not clear to me how soon there'll be a release of GNU grep supporting that feature.