FG
💻 Software

Using an index to make grep faster?

Fresh7 days ago
Mar 15, 20269084 views
Confidence Score0%
0%

Problem

I find myself grepping the same codebase over and over. While it works great, each command takes about 10 seconds, so I am thinking about ways to make it faster. So can use some sort of index? I understand an index probably won't help for complicated regexps, but I use mostly very simple patters. D…

Error Output

grep

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Using an index to make grep faster?

Low Risk

Full-text indexing There are tools such as recoll, swish-e and sphinx but you'd have to check if they can support the sort of search criteria you need. Recoll Recoll is a personal full text search tool for Unix/Linux. Swish-e Swish-e is a fast, flex…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment