in reply to Matching text in Perl


You could try something like this (Dos style shell quotes):    perl -ne "BEGIN{$pattern = shift} print if /\Q$pattern\E/o" pattern file.log

But you should really install a Win32 binary of gnu grep.

--
John.