Hi All,
I am new to perl program, may be you have posted this earlier, but not able to find the correct solution.
Here is my problem
I have a file with 'n' number of lines in the format of
aaaa|Q|dfadfsfaf|S|asfddsfasfdasdfaf|werwqr345435|
this file delimited by either S or Q
after processing this file I have to output this file
like this
first line should concat with the remaining
aaaa|dfadfsfaf
aaaa|asfddsfasfdasdfaf
aaaa|werwqr345435
Any help would be helpful.
Thanks
Rao