- MS-DOS and WINDOWS: Use a Carriage Return/Line Feed combination (CR/LF).
- UNIX: Uses a Line Feed only (LF).
- MAC: Uses a Carriage Return only (CR).
SourceSafe is designed this way so that UNIX, Macintosh, and PC users can all check the same files in and out and always see the file displayed correctly.
It's important to notice that in this one instance, SourceSafe alters the contents of your text file. While this type of change is necessary for text files, it would cause unpredictable results for binary files. Therefore, this operation is never performed on a binary file.
You can change this default behavior by adding the EOL switch in the user's Ss.ini file. You can set the EOL variable to either an "r" (Carriage Return), "n" (Line Feed), or "rn" (Carriage Return/Line Feed). For example:
EOL = n
You can also accomplish this by using the -g switch from the command line. The syntax is as follows:
ss Get -g(EOL) where EOL can be r, n, or rn
ss Get -gr <Filename>
Id. de artículo: 170750 - Última revisión: 02/24/2005 - Revisión: 1