It's all about the answers!

Ask a question

Invalid line delimiter during share - scm share command

Sumant Renukarya (1.1k23339) | asked Jan 12 '15, 11:20 a.m.
I run the following command to share from comandline but fails with the message as shown below for a few files:

scm share -r https://<host>:9443/ccm -u clmuser -P <test> -d "." -v "LOAD-WS-DIST-gestaodaexposicaocredito" 


Change sets:
  (1002) ----@ clmuser "Share" 07-Jan-2015 09:32 AM
Invalid line delimiter during share for:
/gestaodaexposicaocredito/00_Database/99_Generated/BPI.AGILE.DAL.Data/Bases/VersaoPropostaLimitesProviderBase.generatedCore.csShared successfully

Any help here? 

Accepted answer

permanent link
Shashikant Padur (4.2k27) | answered Jan 12 '15, 11:13 p.m.
 Looks like these files were generated by some tool and has some mixed line delimiters. By default, the tool tries to use the delimiter as LF in Unix/Linux and CRLF in Windows systems. Either you need to fix the file to have a consistent delimiter or if you want to share it as it is you need to provide a file with 'delim: none'. Here is how you can provide a file:
Sumant Renukarya selected this answer as the correct answer

Sumant Renukarya commented Jan 13 '15, 11:20 a.m.

 Thanks Shashikant. Yes; these files are being moved from Harvest into RTC and as mentioned has delimiters other than CRLF or LF. 

Your answer

Register or to post your answer.