Hello all, Sorry for yet another thread, but I'm yet again stuck. I've consulted a perl book that I have and looked on the internet, but didn't find something that I could sucesfully modify. I wrote two perl pattern matching programs and another program combining them giving me a .txt file in the form: Code: A B C F G K L Y T O M K Etc... I'm guessing I could modify the other programs to change the form of the output, but I'm guessing it's easier to write a nother program to merely reformat. My goal is to read in the text file and have every x entries of column one be listed, then all the corresponding entries of column two (with a space in the middle) and then a new line. So: Code: ACG BKF LTM YOK Etc If anyone could point me in the right direction that would be great. Thanks!