I have a huge, one line file. I need to delimit at every asterisk * and create a new line.
something like
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
So that when I read in the file, if I hit an asterisk, I create a newline:
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
something like
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
So that when I read in the file, if I hit an asterisk, I create a newline:
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*
5|12345 North Street|Smallville|KS|Bob|Smith|5552221212*