Hi, I have a linux file that has data like this..
REQUEST_ID|text^Ctext^Ctext^C
REQUEST_ID|text^Ctext^C
REQUEST_ID|
REQUEST_ID|
REQUEST_ID|text^Ctext^Ctext^Ctext^Ctext^Ctext^C....
Where ever I see a ^C character, I need to copy the corresponding REQUEST_ID and that part of the text to a new line. so my destination file should look like this..
REQUEST_ID|text
REQUEST_ID|text
REQUEST_ID|text
.
.
How should I do this? I have no idea how to do this because I have no knowledge in unix or linux so far..
Bookmarks