open-discussion
open-discussion > RE: CBS tools help on mac 10.10.3
Jan 27, 2017 01:01 PM | Thomas Ernst - University Clinic Essen
RE: CBS tools help on mac 10.10.3
Hi guys,
I had some additional problems in that running the script (version 3.0.8 and 3.0.9) would result in "file not found" errors (MacOS 10.12.3). Finally I figured out that is was the famous "carriage return".
In detail: The original run_cbstools_mac uses two newline characters (carriage return and line feed (CRLF, \r\n)), but MacOS/Unix by default reads the line carriage return character as part of the line text. The nasty bit is: Many editors (like TextEdit) do not show this little detail in the script. Lowest-level solution: remove and retype all newline characters in your editor.
@Pierre: If possible, could you remove the CR characters in run_cbstools_mac the next release please?
I had some additional problems in that running the script (version 3.0.8 and 3.0.9) would result in "file not found" errors (MacOS 10.12.3). Finally I figured out that is was the famous "carriage return".
In detail: The original run_cbstools_mac uses two newline characters (carriage return and line feed (CRLF, \r\n)), but MacOS/Unix by default reads the line carriage return character as part of the line text. The nasty bit is: Many editors (like TextEdit) do not show this little detail in the script. Lowest-level solution: remove and retype all newline characters in your editor.
@Pierre: If possible, could you remove the CR characters in run_cbstools_mac the next release please?
Threaded View
Title | Author | Date |
---|---|---|
Kevin Aquino | Sep 21, 2015 | |
Thomas Ernst | Jan 27, 2017 | |
Pierre-Louis Bazin | Sep 22, 2015 | |
Kevin Aquino | Sep 22, 2015 | |
Kevin Aquino | Sep 22, 2015 | |