in reply to Perl as grep

Is making perl act as grep really the solution for your problem? Today you want to Unix tool grep on Windows, tomorrow something else.

Why not install one of the Unix tool packages for Windows, like cygwin?

Abigail

Replies are listed 'Best First'.
Re: Re: Perl as grep
by ibanix (Hermit) on Dec 02, 2003 at 18:33 UTC
    You assume I am allowed to install cygwin on it :-)

    $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;
      Non Perl Answer for WinNT/2000/XP in CMD.EXE is  findstr dose some of grep's functions and it does (an MS) regex search. MADuran