Wednesday, October 15, 2008
findstr a Windows alternative to grep
If you've been using grep all week only to come home to an PC running Windows, you're probably missing a part of your life when you leave your Linux workstation.
If you're on a text file containing huge amounts of text, such as a log file you can get findstr to search for all lines with a particular word. Findstr does regular expressions too. It's got many of the options that grep does - printing filenames for matches, printing lines that do not match, and multiple file search.
For more reference, you can take a look to the official documentation or here
Subscribe to:
Posts (Atom)