I have a file ...
Each line looks something like the following:
13212121 NEWLINE 121211 11112121 12121
What I want to do is replace the text 'NEWLINE' with the
actual newline \n character.
So my output will now look like:
13212121
121211 11112121 12121
I thought sed would be the best tool to use for this but
there could be a better alternative.
I don't want to do this through interactive VI. I want to
be able to place this in a KSH script.
Thanks ahead of time for any help,
It's much appreciated.
-dave
Each line looks something like the following:
13212121 NEWLINE 121211 11112121 12121
What I want to do is replace the text 'NEWLINE' with the
actual newline \n character.
So my output will now look like:
13212121
121211 11112121 12121
I thought sed would be the best tool to use for this but
there could be a better alternative.
I don't want to do this through interactive VI. I want to
be able to place this in a KSH script.
Thanks ahead of time for any help,
It's much appreciated.
-dave