Reallt thankful for the replies!!
I ahve tried the 'awk' command,but still it is giving me same results.
HTML Code:
$ cat a
Account Number,Name,Address,Comments
"123","XYZ","302 Street,Washington,US","NA"
"456","PQR"," 3233 Some Street
Washington,US","is Defaulter"
"3434","sdsd","3233 Some Street
Washington,US","Is not Defaulter"
"87856","sdsd","3233 Some Street,Washington,US","Is not Defaulter"
dfwldwaqa2:dsadm:/EDWNAS1/opt/dwqa1/rsinha/Vetch
$ awk 'NR>1 && /,$/{printf("%s ",$0);next}1' a
Account Number,Name,Address,Comments
"123","XYZ","302 Street,Washington,US","NA"
"456","PQR"," 3233 Some Street
Washington,US","is Defaulter"
"3434","sdsd","3233 Some Street
Washington,US","Is not Defaulter"
"87856","sdsd","3233 Some Street,Washington,US","Is not Defaulter"
The output of the cat a|od -c command is showing as '\n' and the end of every line.
If i use the sed command for the same file the ouptut is :
HTML Code:
$ sed 'N;s/\n/ /g' a
Account Number,Name,Address,Comments "123","XYZ","302 Street,Washington,US","NA"
"456","PQR"," 3233 Some Street Washington,US","is Defaulter"
"3434","sdsd","3233 Some Street Washington,US","Is not Defaulter"
"87856","sdsd","3233 Some Street,Washington,US","Is not Defaulter"
The next line to header is shifting to the header

Very strange problem man

Appreciate all the help !!
