I have following data with multiple lines
username: joe
empid: 1111
status: resigned
username: tom
emid: 1234
username: kate
empid: 2222
status: resigned
What I want is to get the data in to other file as below
username: joe,empid: 1111,status: resigned
username: tom,empid: 1234
username: kate,empid: 2222,status: resigned
Best Wishes, KJ