I’ve mentioned the Word Services (72 Kb, free) from DEVONtechnologies before but they are worth another mention. The Read Me file explains how to install. You need to log out and in again to activate them.
This service provides 34 functions to convert, format or speak the currently selected text, to insert data or to show statistics of the selection within all Cocoa applications (e.g. Textedit, Mail, Stickies, Notes, Fire, OmniWeb, ProjectBuilder or TeXShop) and Carbon applications supporting services.
- Remove line endings / multiple spaces / quotes
- Trim line beginnings / line endings / lines
- Sort lines ascending / descending
- Shift left / right
- Many more features