$ awk 'gsub("\"\"","\"")' awk-test.txt
"AAAA"|"Test "1-A"|"Test AAAA"|"This is A"
"BBBB"|"Test "1-B"|"Test BBBB"|"This is B"
"CCCC"|"My Test C"|"Test "CCCC"|"This is C"
$ sed 's/""/"/g' awk-test.txt
"AAAA"|"Test "1-A"|"Test AAAA"|"This is A"
"BBBB"|"Test "1-B"|"Test BBBB"|"This is B"
"CCCC"|"My Test C"|"Test "CCCC"|"This is C"
can you help me please to include on how to replace the 4th line, it was |"My Test D|1"| would be come |"My Test D1"|.
My Data :
"AAAA"|"Test "1-A""|"Test AAAA"|"This is A"
"BBBB"|"Test "1-B""|"Test BBBB"|"This is B"
"CCCC"|"My Test C"|"Test "CCCC""|"This is C"
"DDDD"|"My Test D|1"|"Test "DDDD"|"This is D"
Output :
"AAAA"|"Test 1-A"|"Test AAAA"|"This is A"
"BBBB"|"Test 1-B"|"Test BBBB"|"This is B"
"CCCC"|"My Test C"|"Test CCCC"|"This is C"
"DDDD"|"My Test D 1"|"Test "DDDD"|"This is D"