Can you modify the solution you were given for that problem to solve this problem too? (You never did say what script solved that issue.) What have you tried?
Thanks for the information.
The correction worked fine, last time around and I replied as well
Originally Posted by navkanwal View Post
The command is working fine and output was generated in less than 5 minutes.
However, the request is different this time as, I have multiple lines starting with the same alphabets, so it has become tricky as the previous command is not providing the desired output.
You didn't quite answer Don Cragun's questions about your attempts to modify/adapt the solution given in that former thread to solve your actual problem.
And, you don't seem to care about how the spaces in your input file(s) are being handled in the output file.
However, try