QA Graphic

BBEdit: Process Lines Containing

Using the 'Process Lines Containing' functionality in BBEdit, I can quickly filter out unwanted lines in a log file:

BBEdit Process Lines Containing

(Exabot|Crawler|megaindex|AhrefsBot|bot.html|spider|slurp|yandex|bingbot|majestic12)

I use this when I am looking at the Apache's HTTPd server logs and want to filter out Bots and Google hits to my site.

This will look for each line containing any of the matching text, and if one word is found the line is removed from the file. This saves a ton of time of running multiple grep statements.

You can find the 'Process Lines Containing' under the Text menu in BBEdit. I use it so much that I just assigned a custom Menu key equivalent.

 

Comments

Add Comments

Name:
Comment:

 

About

A Mac veteran since 1989, I'm here to share my experience with tips and tricks every Friday. Witnessing the evolution of Mac software and hardware firsthand, I've gained a deep understanding of how these machines work and can help you troubleshoot any issues that may come up.

Schedule

SundayOpen Topic
Monday Media Monday
TuesdayQA
WednesdaySnagIt for QA
ThursdayPython
FridayMacintosh
SaturdayInternet Tools