Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

  (email not shown publicly)

Journal of djberg96 (2603)

Monday September 20, 2004
10:53 AM

Note to Unix Weenies: findstr

[ #20965 ]
I don't know how many times I've read "Windows doesn't have 'grep'. You'll have to write your own or, better yet, install cygwin!", or some variant thereof. In fact, I came across this again today.

Comments like this are usually then followed by a hoard of "my favorite grep clone is <insert random .bat file here>".

Before you go running to the web looking for a grep clone, just type 'findstr /?'. It even does regular expressions and recursive searches.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • The annoying thing with find on Windows is that "find" isn't Unix find, it's something grep-like IIRC, and it's probably in your path before Cygwin by default.
  • Or just install unxutils [] and you'll have all your favorite Unix command line tools at your fingertips :-)