My file arrives on a Linux server and contains
^M characters when seen in VI and the file format = unix,
My vi macro solves my problem.
It finds and removes the
^M and then joins the line to previous line.
How can I accomplish this in sed, awk or some Unix utility?