I am trying to figure out a way to open file1 read the data from it, then write that data to file2, but I need the data in a different format when written to file2 (this is why I don't think a straight file copy would work).
Basically for ever piece of data in file one, I need it written to its own line in file 2 (So I figure I am looking for any whitespace that is between the data <i.e. new line, tab, or spaces>). I am really at a loss for how to scan the data, check it, then rewrite it to the new file in the other format.
As always any advice, assistance, guidance, and help is greatly appreciated. A good swift boot in the right direction is also appreciated.