Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output file has windows (CRLF) line endings #14

Open
Ashark opened this issue Apr 25, 2020 · 2 comments
Open

Output file has windows (CRLF) line endings #14

Ashark opened this issue Apr 25, 2020 · 2 comments

Comments

@Ashark
Copy link

Ashark commented Apr 25, 2020

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.

@cf-rohit
Copy link

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'

@Ashark
Copy link
Author

Ashark commented Jul 11, 2023

Of course one can use crutches. But there should be normal output in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants