Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: crlf to \n

by Intrepid (Deacon)
on Apr 03, 2009 at 03:41 UTC ( #755172=note: print w/ replies, xml ) Need Help??


in reply to Re^2: crlf to \n
in thread crlf to \n

It's possibly worth noting that merely changing the filetype fileformat (ff) in Vim won't repair a file which has a mix of *nix and dos line-endings, and because of the still massive userbase of a few specific Microsoft tools (that are brain-dead on this score), such files are rather commonly encountered. In such a case one has to actively do something, and if one wants to do something inside Vim, it ought to work to do what dwm042 wrote in reply above.


Comment on Re^3: crlf to \n

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://755172]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-12-25 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls