Don't forget the old UNIX stream editor, sed, for automated text editing: sed -n ' /^HCA/p /^I[XY][0-9][0-9][0-9][0-9][0-9]/p ' filename It is nearly as simple as egrep and you can easily further edit the output should you wish to alter its format. Dale ********************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the following text in the *body* (*not* the subject line) of the letter: unsubscribe gnhlug **********************************************************
