-
Notifications
You must be signed in to change notification settings - Fork 216
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
cut command not working with this .csv file #65
Comments
I'll check out the country issue. I'll add your data as a UT case. The fopen was fixed in a recent commit. There was a missing UT case for that; there will now be. Thank you! |
Is the file CRLF-terminated? |
No, it's a standard linux text file |
Thankyou! Great work btw, very useful! |
Glad to hear it!! :) |
P.S. there is a |
would |
Sure, if your platform has it. |
Using the latest miller release (v2.1.4.tar.gz, although
mlr --help
reports v2.1.3.).The command:
mlr --csv cut -f country wbdata.csv
produces no output where wbdata.csv contains the following data:If I replace
country
with any other column name I still get no output.Am I doing something wrong? It seems to work OK with another .csv file I tried, but not this one.
Furthermore, if I try piping the data to miller like this:
cat wbdata.csv | mlr --csv cut -f country
I get the following error:The text was updated successfully, but these errors were encountered: