in reply to "Invalid request code "error

That is an error message from the program grep, which is not perl

Replies are listed 'Best First'.
Re^2: "Invalid request code "error
by Anonymous Monk on Mar 20, 2011 at 00:56 UTC

    The reason I am asking me when I run the below command

    "find.exe . -name "*" -print0 | xargs -0 grep -i #include"
    from any command window I dont see the grep error message ,only when I put it in a perl script and run I get this error message.So I thought something to do with perl.

    Does any one know if there is an yother way to get all the #includes in a given directory recursively?

      Can anyone help?

        It seems like I messed up the grep exe on my machine,Can anyone let me know which grep(Cygiwn,gnu,perletc) should we normally use on windows?Where does correct "grep.exe" reside on windows?

        I don't know