Back to the main page.

Bug 2629 - ensure that all files have the correct line endings (dos/unix)

Reported 2014-07-01 09:12:00 +0200
Modified 2014-07-15 17:25:06 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
Depends on:
See also:

Robert Oostenveld - 2014-07-01 09:12:27 +0200

I noticed a file with dos line endings. All files should have either native or UNIX line endings. The following finds the files (on my OS X machine) that have DOS line endings mac011> find . -name '*.txt' -print0 | xargs -0 grep -l $'\r' ./external/biosig/doc/leadidtable_scpecg.txt ./template/electrode/easycap-M1.txt ./template/electrode/easycap-M10.txt ...

Robert Oostenveld - 2014-07-01 09:13:07 +0200

I searchers for all obvious ascii files, excluding external/dmlt. roboos@mentat001> svn commit Sending external/besa/readBESAsfh.m Sending external/besa/readBESAsrf.m Sending external/biosig/private/covm.m Sending external/biosig/private/sumskipnan.m Sending template/electrode/easycap-M1.txt Sending template/electrode/easycap-M10.txt Transmitting file data ...... Committed revision 9681.

Robert Oostenveld - 2014-07-15 17:25:06 +0200

Closed several bugs that were recently resolved. If it is closed in error, please reopen.