Hi All, I could use a bit of help with this as I'm at a loss. Hope this is the right place. I have a number of files all named accordingly: I have a separate text file that is as follows: What I want to do is end up with: I don't know how to do this, though I'm certain it can be done, and would rather learn how than do it all manually. If someone could just point me in the right direction or post the basics so that I could have a starting point I'd much appreciate it. So far all I've managed to do is replace the ^M from the text file with \r so that cat works properly on it. Thanks.