Home Download Buy Blog Forum Support

Windows CR symbol ^M breaks lines in *nix OS

Windows CR symbol ^M breaks lines in *nix OS

Postby dsapala on Mon Oct 29, 2012 3:33 pm

So I have a file that I saved in vim the other day that worked just fine. I used the ctrl+v ctrl+m shortcut to insert the ^M for the windows carriage return that I needed for a sed command embedded in a ruby script. When I open the file up in sublime the command breaks the line at the position where the ^M is. I wouldn't expect this is intended behavior. Please advise how I can stop this from happening and just have the file display the ^M as expected. I have attached a sample file similar to the one I'm working with. Thanks.
dsapala
 
Posts: 1
Joined: Mon Oct 29, 2012 3:26 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 22 guests