BBEdit Lite 4.6
Dan Knight - 2001.07.10
Low End Mac Reader Specials
TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
BBEdit Lite (BBE) from Bare Bones Software is a program I use daily. It looks like a simple text editor, but I don't use it for designing pages or writing; I use it because BBE has a blindingly fast search-and-replace function. In fact, that's the feature I use most of the time.
You can tell BBE where to search, whether that's a single file, a single folder, or every file and folder within a specified folder. You can tell it to only search text files. You can have it examine just files that start with, end with, contain, or don't contain a specific set of characters.
And, of course, you have to tell it exactly what to search for - and that's exactly where to great power of BBE manifests itself. BBE is so powerful, there are a lot of features I haven't even used yet.
I've been using BBE for years to do things like change the copyright notice on each page of the site from 1997-98 to 1997-99 and later to 1997-2000 - before I started using server side includes for the copyright notice. Search every text file in the lowendmac folder for "©1997-98" and replace with "©1997-99" - easy.
If I notice I've made a typo in a text link that I've pasted on several pages (I did that just last week), I can have BBE find every instance of "exernal" and replace it with "external".
If a contributor has a new email address, I can search for "mailto:oldaddress@olddomain.com" and substitute "mailto:newaddress@newdomain.com".
Sometimes a website moves, like when MacCentral moved from maccentral.com to maccentral.macworld.com. With BBE, that's a quick search and replace to update any link on the site. Very nice!
Sometimes I make changes to the site, like changing the width of the navigation column or a background color. If I know I haven't set anything but the navigation column to WIDTH=220, I can globally replaced it with WIDTH=208. The same for the background color, which can change from green (BGCOLOR="#006600") to dark blue (BGCOLOR="#000066") in a single pass.
And how do I use BBE daily? Well, Claris Home Page is a nice enough WYSIWYG Web page editor, but it leaves some unnecessary code behind. In particular, it puts the following string - <X-CLARIS-TAGVIEW MODE=minimal> - in every page it creates. Browsers ignore this tag, and Home Page doesn't need it, either, so almost every time I'm prepared to upload site changes, I have BBE run through the entire site and strip that string from any file with "htm" in the name. It's not a big deal, just 31 unnecessary characters, but multiply that by 600,000 pages per month and it comes to almost 18 MB that our server doesn't have to process. (I also use an HTML compression program, which compacts pages an average of 25%. See Web Tips & Rants for more on the subject.)

BBEdit Lite 4.6 Find includes search by file name.
This kind of power was available in every version of BBEdit Lite I used; I've been using BBE since version 3.5. In fact, I've been content to several versions behind simply because BBE does what I need it to do. I finally downloaded v6.1 because I'm writing this article, but v4.0.1 (from 1997) has served me well for quite a while. And in the course of using v6.1, I discovered no way to select files based on their name. When I contacted Bare Bones Software, they replied (emphasis added):
- ...in the course of substantially increasing BBEdit's multi-file search file filtering for version 6.0, we overhauled the UI and the underlying machinery. Since BBEdit Lite is built from the same foundations as the commercial version, it wasn't feasible for us to go "halfway" back to the previous behavior, and so we regret that BBEdit Lite will no longer include file-name filtering for multi-file searches. We do not currently expect to change this in future releases of BBEdit Lite.
Given the choice between a freeware version that no longer offers file-name filtering, a $119 full version which does, and a freeware version that still supports file-name filtering, I've decided to replace my old copy of BBEdit Lite with v4.6 and ignore v6.1 completely.

BBEdit Lite 6.1 Find no longer includes search by file name.
The only limitation I found with older versions of BBE is the length of the search and replace strings. It was possible to cut and paste a text string that was too long for BBE to handle - so it will only process the portion of the string it can deal with. That got messy, but with multiple search-and-replace passes, you can get the job done with older versions of BBE. Version 6 and later can accept search strings over 512 characters long.
The simple global search and replace function alone makes BBEdit Lite worth owning, although you'll have to weigh your needs in choosing between the multi-file search capabilities of v4.6, the longer string capabilities of v6.1, or getting both with the full version of BBEdit.
Not only is BBEdit Lite free, but it has a lot more power than I've used to date. Version 6 and later can even keep track of the last dozen search terms you used, as well as your replacement text. (I just learned about that when I printed out the search chapters from the manual.)
The real power, as any Unix geek will tell you, comes from Grep. The original Grep is a powerful search and replace language created on Unix machines. BBE implements Grep patterns, which, for instance, allow you to search for any digit 0-9 by using the # wildcard - and that's just the tip of the iceberg.
I haven't worked with Grep yet, and it's well beyond the scope of this introduction to BBEdit Lite. The BBE manual dedicates 18 pages to explaining Grep commands, how they work, and the problems you can run into if you're not careful. (If there's a BBE Grep expert out there who'd like to share some tips, please contact about writing an article. Thanks!)
Once you find a use for BBE - and it's not the kind of program everyone needs - you'll wonder how you ever did without it.
BBEdit Lite is currently at version 6.1.1, which requires a
PowerPC processor and runs under either the classic Mac OS or Mac
OS X. BBEdit Lite 4.6 remains available for those using 68k
Macs and requires System 7.0 or later, although 7.5 or later is
recommended. Anyone using System
6 can download BBEdit Lite 3.5, which can run in as little as
450K.
Resources
- BBEdit Lite, Bare Bones Software
Recent Content on Low End Mac
- Pismo WiFi Networking Issue Finally Solved?, Charles W. Moore, Miscellaneous Ramblings, 11.24. It turns out the problems wasn't the Pismo, the Buffalo WiFi card, or Mac OS X 10.4. It was the Wireless G router - Linksys to the rescue!
- Mini VGA to S-video Adapter a No Go for eMacs, Dan Bashur, Apple, Tech, and Gaming, 11.24. You might think that Apple's Mini VGA S-video adapter is a cheap way to connect your eMac or G4 iMac to your TV. You would be wrong.
- Google Calendar with iPhone or iTouch Is Great for Scheduling, John Hatchett, Recycled Computing, 11.24. Web-based Google Calendar allows access and updates from any computing platform, including Mac, Windows, Linux, and iPhone OS.
- Why Spaces is My Favorite Leopard (and Snow Leopard) Feature, Charles W. Moore, Miscellaneous Ramblings, 11.23. Spaces, a feature introduced with OS X 10.5, is like having several monitors on your Mac without the cost and space of using multiple displays.
Latest Deals on Low End Mac
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
B&H
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
Advertise
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
B&H
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com
