I have files with this format text text |fs
text text text |fs The goal here is to make this data into a flat file of continuous text (including the |fs). texttext|fstexttexttext|fs I know how to get rid of the carriage returns using s/\n//g, but haven't had any luck in finding the way to get rid of the line feeds following the |fs. Thanks, Bruce Bowen