Data sample input:
Name mobile url message text
test11 1234567890 www.google.com "Data Test New
Date:27/02/2020
sample1: 1bags
sample2: 20bags
Regards
The test user user user Sangha
Ph:091 : 123456789"
test12 1234567891 www.google.com hello
My output should be
Name mobile url message text
test11 1234567890 www.google.com "Data Test New\nDate:27/02/2020\nsample1: 1bags\nsample2: 20bags\nRegards\nThe test user user user Sangha\nPh:091 : 123456789"
test12 1234567891 www.google.com hello
I have used the below command but it's not working
awk '!/"$/{sub(/$/,"\\n");printf "%s",$0;next}1' file
I have used several other commands as well, but none of them are working in my case