ContentMine / euclid

ContentMine Fork of the WWMM Euclid Package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mac style line endings present

opened this issue · comments

pom.xml contains Mac-style line endings (i.e. CR, aka '\r' or '^M'). These pollute the output of git diff, which expects UNIX-style line endings (i.e. LF, aka '\n'):

$ wc -l pom.xml 
124 pom.xml
$ grep '\r' pom.xml | wc -l
68
$ grep '\n' pom.xml | wc -l
69
$ grep '\n\r' pom.xml | wc -l
0
$ grep '\r\n' pom.xml | wc -l
0

Looks like about 200 source code files have this issue:

$ grep -rl '\r' src | wc -l
202