Top "Grep" questions

grep is a command-line text-search utility originally written for Unix.

Free alternative(s) to PowerGREP

First of all, great praise goes out to PowerGREP it's a great program. But it's not free. Some of it's …

windows regex grep utility
Search for files & file names using silver searcher

Using Silver Searcher, how can I search for: (non-binary) files with a word or pattern AND all filenames, with a …

command-line terminal grep command-line-interface ack
How to grep the git diff?

Is there a way to show the git-diff filtered by a given pattern. Something like git grepdiff pattern changed file +++ …

git grep diff
What is the most efficient case-insensitive grep usage?

My objective is to match email addresses that belong to the Yahoo! family of domains. In *nix systems (I will …

regex linux grep case-insensitive tr
git grep by file extensions

I know that, if I wanted to grep for a pattern only on files with certain extensions, I could do …

git grep file-extension
Python Subprocess Grep

I am trying to use the grep command in a python script using the subprocess module. Here's what I have: …

python grep subprocess popen
"grep" offset of ascii string from binary file

I'm generating binary data files that are simply a series of records concatenated together. Each record consists of a (binary) …

linux bash binary grep ascii
Invalid max count in grep function

If I do a find . -mmin -1 I get 'myfile' which was modified in last one minute. But when I …

linux unix find grep systemtime
Linux search text string from .bz2 files recursively in subdirectories

I have a case where multiple .bz2 files are situated in subdirectories. And I want to search for a text, …

linux recursion grep bzip2
Recursively search for files of a given name, and find instances of a particular phrase AND display the path to that file

I have a bunch of folders and subfolders. Each one contains, amongst other things, a text file called index.yml …

bash file shell grep msys