Computing.Net > Forums > Programming > command line grep for windows

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

command line grep for windows

Reply to Message Icon

Name: meenac
Date: November 16, 2004 at 12:49:18 Pacific
OS: 2000/2003
CPU/Ram: 512
Comment:

I like to search a file for a pattern matching string. I am familiar with grep in unix. I looked at wingrep but not able to use it on the command line. Is there a command line grep available for windows?



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: November 16, 2004 at 14:16:25 Pacific
Reply:

As a UNIX/Linux programmer that has to work on Windows more often now, I just downloaded cygwin (www.cygwin.com).

"Cygwin is a Linux-like environment for Windows". When you start it, you get a Linux like terminal that accesses your Windows directory system but also has Linux tools available.

I don't remember how it works, but part of downloading/updating works with a tool that makes it easy to control what you get and don't get. So you can download as little or as much of the Linux tools as you want.


-1

Response Number 2
Name: BlueRaja
Date: November 16, 2004 at 16:39:23 Pacific
Reply:

find.

dir | find "PictureOfBushPickingHisNose.jpg" > list.txt

AKhalifman@hotmail.com


1

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: command line grep for windows

Command Line Vox Player (DIALOGIC) www.computing.net/answers/programming/command-line-vox-player-dialogic/16340.html

What happened to Command Line Help? www.computing.net/answers/programming/what-happened-to-command-line-help/19425.html

batch file? www.computing.net/answers/programming/batch-file/11468.html