SOS command line changes DOS to UNIX end of line

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
dwooldridge
Posts: 2
Joined: Fri May 22, 2009 9:10 am

SOS command line changes DOS to UNIX end of line

Post by dwooldridge » Fri May 22, 2009 9:20 am

Hi, I am trying to use the SOS command line client interface (version 4.0 according to the soscmd.txt file) to retrieve files in an automated build process. When I issue the getfiles command, it is successful, but all files retrieved are slightly different than if they are retrieved from the GUI client (which interestingly reports version 4.1). The end of line sequence in the file is changed from a CR/LF to just a LF sequence (looks possibly like one tool is DOS native, the other UNIX native?). Is there a solution or workaround to insure the files are the same no matter whether the command line or GUI tool is used to retrieve the files? Thank you.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: SOS command line changes DOS to UNIX end of line

Post by Beth » Fri May 22, 2009 2:03 pm

You should be able to specify the end of line used. Try adding add -eol "windows" to the command.
Beth Kieler
SourceGear Technical Support

dwooldridge
Posts: 2
Joined: Fri May 22, 2009 9:10 am

Re: SOS command line changes DOS to UNIX end of line

Post by dwooldridge » Tue May 26, 2009 6:45 am

Thanks, this worked great.:)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: SOS command line changes DOS to UNIX end of line

Post by Beth » Tue May 26, 2009 8:06 am

Thanks for the update.
Beth Kieler
SourceGear Technical Support

Post Reply