> -----Original Message----- > From: Evan Panagiotopoulos [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 17, 2001 7:34 PM > To: [EMAIL PROTECTED] > Subject: Substitute for grep command for Windows 2000 > > > I had a script that was using the grep command to extract > lines from a text file. That was under a Linux server. Since > then we migrated to a Windows 2000 server and I found out > that it doesn't support the grep command. Is there a > substitute or work-around for this problem I have?
Is there a Perl question in there? Anyway, there are several ports of grep avail for Win32. Also, Perl can emulate grep very nicely: perl -ne "print if /foo/" file.txt -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
