I have a multi-page ascii file, and I need to be able to separate this file into single page ascii files.
At the end of each page should be a page break inserted. My original thoughts are to read up to a page break, output to file, but then how would I make it read to a page break and then continue to start over reading from that page break to the next? Or is there another, easier way of doing this?
csplitallows you to split a file by regex.