Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

command similar to grep (unix) in windows?

Jan 8, 2004 7:19AM PST

does windows have any commands similar to grep?

i need to search many huge proxy logs (40 meg average txt files) for a specific ip addresse and put this info into a seperate txt file. this will take days manually. im desperately looking for a way to speed this up.

-thanks

Discussion is locked

- Collapse -
(NT) then go get grep for windows. Look up CYGWIN.
Jan 8, 2004 7:40AM PST

.

- Collapse -
Re:command similar to grep (unix) in windows?
Jan 8, 2004 7:44AM PST

Gary,

Just maybe this will help:

GREP for Windows
http://www.interlog.com/~tcharron/grep.html

You can also do a regular search in Windows which will allow you to select the file type and dictate a specific piece of text that is expected to be found in the file. (Depending on your version of Windows, click on Start-Find/Search-Files or Folders, Advanced tab.) Unfortunately, although each file would be detected, you would need to open each .txt file and find the data line that you want.

Hope this helps.

Grif

- Collapse -
thanks (nt)
Jan 8, 2004 7:55AM PST

nt