Tag: carriage-return-line-feed
Severity: error
Check: debian/line-separators
Renamed-From: control-file-with-CRLF-EOLs
Explanation: The given control file uses CRLF
as line terminator
instead of the traditional UNIX LF
terminator. Since some
tools were only designed with the UNIX end-of-line terminators in mind,
it is possible that they misbehave or lead to unexpected results.
.
Running the following command against the given file removes any
CR
character in the file:
.
sed -i 's/\r//g' path/to/file