Go Back   AnandTech Forums > Software > Software for Windows

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Home and Garden
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2014
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 11-15-2009, 08:47 PM   #1
homercles337
Diamond Member
 
Join Date: Dec 2004
Posts: 6,327
Default Grep for Windows 7?

Apparently MS didnt feel the need to offer a grep style search in Win7, and sadly wingrep is broken in Win7. Does anyone have any other ideas for grep in windows?
__________________
*337
homercles337 is offline   Reply With Quote
Old 11-16-2009, 01:06 PM   #2
MrChad
Lifer
 
MrChad's Avatar
 
Join Date: Aug 2001
Posts: 13,500
Default

Findstr?
MrChad is offline   Reply With Quote
Old 11-16-2009, 09:00 PM   #3
Nothinman
Elite Member
 
Nothinman's Avatar
 
Join Date: Sep 2001
Posts: 30,672
Default

Or "find" although it's not nearly as capable as grep. Or the grep command from unxutils?
__________________
http://www.debian.org
Nothinman is offline   Reply With Quote
Old 11-17-2009, 09:13 AM   #4
derrick2237
Member
 
Join Date: Jan 2005
Posts: 47
Default

I think i used this in XP before, but not 7

http://gnuwin32.sourceforge.net/packages/grep.htm

I also like installing Cygwin on my work windows computers.
__________________
Hello
derrick2237 is offline   Reply With Quote
Old 11-17-2009, 09:18 AM   #5
theevilsharpie
Platinum Member
 
Join Date: Nov 2009
Location: Southern California
Posts: 2,320
Default

Use the Select-String powershell cmdlet.
theevilsharpie is offline   Reply With Quote
Old 11-17-2009, 09:27 AM   #6
Nothinman
Elite Member
 
Nothinman's Avatar
 
Join Date: Sep 2001
Posts: 30,672
Default

Quote:
Originally Posted by theevilsharpie View Post
Use the Select-String powershell cmdlet.
Ah, if only PowerShell wasn't such a shitty shell...
__________________
http://www.debian.org
Nothinman is offline   Reply With Quote
Old 11-17-2009, 09:28 AM   #7
theevilsharpie
Platinum Member
 
Join Date: Nov 2009
Location: Southern California
Posts: 2,320
Default

Quote:
Originally Posted by Nothinman View Post
Ah, if only PowerShell wasn't such a shitty shell...
It beats the NT command interpreter.
theevilsharpie is offline   Reply With Quote
Old 11-17-2009, 09:31 AM   #8
Nothinman
Elite Member
 
Nothinman's Avatar
 
Join Date: Sep 2001
Posts: 30,672
Default

Quote:
Originally Posted by theevilsharpie View Post
It beats the NT command interpreter.
Not for interactive use, not by a long shot. PowerShell isn't a terrible scripting language, but it's a horrid shell which is ironic because what Windows really needed was a good shell.
__________________
http://www.debian.org
Nothinman is offline   Reply With Quote
Old 11-17-2009, 09:40 AM   #9
theevilsharpie
Platinum Member
 
Join Date: Nov 2009
Location: Southern California
Posts: 2,320
Default

How exactly is Powershell worse for interactive use?
theevilsharpie is offline   Reply With Quote
Old 11-17-2009, 10:12 AM   #10
Nothinman
Elite Member
 
Nothinman's Avatar
 
Join Date: Sep 2001
Posts: 30,672
Default

Quote:
Originally Posted by theevilsharpie View Post
How exactly is Powershell worse for interactive use?
It's been a while since I had to use it so I don't have a specific list. I guess from a purely capability standpoint it's better, but that doesn't make it a good shell. And while being able to run normal Windows CLI apps is nice it's pretty pointless since they emit text instead of .Net objects and so can't be in the normal PS pipeline.

What MS really needs to do is fix CSRSS and their terminal emulation. Not being able to dynamically resize the terminal window in the year 2009 should be downright embarrassing for them.
__________________
http://www.debian.org
Nothinman is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:32 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.