If you work sometimes on Windows, sometimes on Mac and sometimes on Linux, you can get troubles with line endings. Programs which aren't smart enough to detect line endings by them self, will display the text as if the file contained no line breaks at all.
The project homepage is at http://stahlworks.com/dev/index.php?tool=remcrlf
- Windows, and DOS before uses a pair of CR and LF characters to terminate lines
- UNIX (Including Linux and FreeBSD) uses an LF character only.
- OS X also uses a single LF character
- Classic Mac operating system used a single CR character for line breaks.
All you have is to use the following command for converting to Mac OSX:
sfk remcr -dir your_project_directory
The project homepage is at http://stahlworks.com/dev/index.php?tool=remcrlf
Keine Kommentare:
Kommentar veröffentlichen