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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Thank You!
Use
--include=*.pl *
instead of
*.pl