Alternatives to CGrep
A command-line search tool that finds patterns in source code with awareness of code, comments, and strings. Notes say what changes if you switch.
The original
CGrep
A command-line search tool that finds patterns in source code with awareness of code, comments, and strings.
6 alternatives
Most similar to CGrep first.
The Silver Searcher
A command-line code search tool that finds matching text across project files.
The Silver Searcher finds matching text across project files, while cgrep specifically searches with awareness of code, comments and strings.
ack
A grep-like source code search tool built for programmers working in large code trees.
ack searches source code in large trees like cgrep.
weggli
A command-line tool for searching C and C++ codebases for patterns in their syntax trees.
ripgrep
Searches a whole directory tree for a pattern in a fraction of the time grep takes, and skips what gitignore says to skip.
ripgrep searches patterns across directory trees and skips gitignored files; cgrep instead describes code-aware matching across code, comments and strings.
ClangQL
A command-line tool for querying C and C++ source code with SQL-like expressions.
Cscope
A terminal tool for searching symbols, functions, text, and files across source code.