I've seen a lot of question on the internet about this topic.
Here it is my preferred solution:
This is a preview of
How to convert a NSInteger to a binary string
.
Read the full post (108 words, estimated 26 secs reading time)
Vim (vi improved) provides a rapid way to change the format from dos to unix and viceversa.
After you have opened your text file, just type the following command in vim:
:set fileformat=unix
to change the format to unix, or type:
:set fileformat=dos
This is a preview of
dos2unix using vim [part 2]- How to remove ^M chars from a DOS file
.
Read the full post (128 words, estimated 31 secs reading time)
Latest Comments