Hi,
I am trying to find a script that will help me in replacing ^M if present in file with new line if new line is not present after ^M else leave the file as it is.
Can someone help me with the scripts.
I know it can be done using sed command but it is even changing the files which does not have ^M.