Thanks to everyone who responded to my query, and particularly for Winfried for the Excel idea. I've used Excel before for text processing but for some reason hadn't thought of using it here. Duh! -- Steve [Trim e-mails: use less disk, use less power, use less planet]