Sounds like you need to open a file, read data in from a file, parse it into an array (perhaps using a regular expression), and print it joined by tabs. What have you tried so far, or what resources are you using for reference? Note that people on this site are happy to help plan and debug, but we don't generally write whole-hog scripts (unless you want to give me money...)