csvfilter
csvfilter copied to clipboard
Output file has windows (CRLF) line endings
After processing a normal file with unix line endings, and sending output to a file, I discovered that it has Windows/DOS (CRLF) line endings. Expected result: output file with unix line endings.
Pipe the csvfilter output to the following Shell command to convert non-Unix line endings to Unix line endings:
csvfilter ... ... ... | tr '\r' '\n' | sed 's/\o015/\n/g'
Of course one can use crutches. But there should be normal output in the first place.