(That's the control char "^M" not circumflex then 'M'.. (i.e. ctrl+v,ctrl+m).)
I have a file used on a system that I am updating with sed, then patch. I use sed to strip the ^M chars out and replace with \n so that patch can work with it, but I need to change the file back to using ^M instead of \n.. I'm at a loss and every result found on google hasn't helped/worked.
Anyone got any ideas?
I have a file used on a system that I am updating with sed, then patch. I use sed to strip the ^M chars out and replace with \n so that patch can work with it, but I need to change the file back to using ^M instead of \n.. I'm at a loss and every result found on google hasn't helped/worked.
Anyone got any ideas?