Exclude long lines from grep results
Fresh3 days ago
Mar 15, 20263961 viewsConfidence Score0%
0%
Problem
How do I exclude very long lines from results? I often grep through lots of .js files ( ) and some of them are compiled, so they consist of a single line usually a couple thousand characters long. From all that clutter I find it hard to see the results from the rest of the files. What should I pass…
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: Exclude long lines from grep results
Low Risk
Piping the to something won't necessarily get rid of the colors. That behavior results from (which if you check is probably what you're using). You can override it and pass and will preserve the colors even through a pipe. As far as excluding the li…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix