Skip to content

Handling of jO files processed in non-Unix filesystems

From @avroy

calculating nEvents failed with the following errors:

(standard_in) 1: illegal character: ^M
(standard_in) 1: illegal character: ^M

Naively, this is due to carriage return and not uniformly processed across operating systems

Todo

See how to handle this:

  • during commit script? : probably not ideal since not everyone uses it
  • doing a dos2unix in the CI? : might require special image - need to see if dos2unix is available in the images we use
  • doing a sed 's/^M//g' as described here in all CI jobs? : @avroy can you test whether this works for you?