Menu

grep: *.pl: Invalid argument

Help
2006-01-19
2012-07-26
  • Nobody/Anonymous

    Hi erverybody!

    I'm using grep on W2K. It works mostly like expected but a problem I can't resolve.

    This works realy good.
    I:\wwwroot\cgi-bin>grep -r "wiki_header" *
    adressdb/addr.pl: div({class=>'header'},&wiki_header,
    auto/auto.pl:print div({class=>'header'},&wiki_header,
    bauhof/addr.pl: div({class=>'header'},&wiki_header,
    rooms/addr.pl:print div({class=>'header'},&wiki_header,

    This makes problems an I don't know why.
    I:\wwwroot\cgi-bin>grep -r "wiki_header" .pl
    grep:
    .pl: Invalid argument

    The version I'm using:
    I:\wwwroot\cgi-bin>grep --version
    grep (GNU grep) 2.5.1

    Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Can anybody tell what my mistakes are?

    Thank You
    Ciao
    Ingo

     
    • Nobody/Anonymous

      Thank You!

       
    • GnuWin

      GnuWin - 2006-01-19

      Use

      --include=*.pl *

      instead of

      *.pl

       
MongoDB Logo MongoDB