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

As someone who has worked on Macs since 1989, I will use my experience to share tips and tricks with you on Fridays. As a Mac user since 1989, I have seen the evolution of Mac software and hardware, and I know how Mac computers work. I also know how to troubleshoot and fix Mac problems that can arise.

Schedule

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