-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Support for separator declaration (used by Excel) #13
Comments
Does Excel support this format with leading line It's not hard not implement, but still take some time. |
I get it. It's a EXCEL specific feature. I'll add a global flag |
That would be amazing. Thank you for considering it! |
I've added seamless support for data with meta line of separator declaration used by MS Excel. See this pre-release, please download and try it. Any feedback is welcome. Enjoy it! |
That's great! Tested it, it works for reading files with the separator line and writing the separator line into the resulting csv. Curiously though when using a file with separator it does not transpose larger files completely: Here are the test files if you'd like to try them: Thank you for your effort, this is going to save quite some time over the coming years! |
Fixed it in https://github.com/shenwei356/csvtk/releases/ Please test it. |
Tested. Works well on small and large files. Incredible turn-around time. Thank you so much! |
Well, I just released the v0.7.0-dev2. Make sure it's the version you tested. Formal version will be released only after add functional tests. |
Was testing v0.7.0-dev1. Now downloaded v0.7.0-dev2, also works as advertised! |
In order to get Excel to always accept CSV files some of our legacy lab equipment adds a line such as
as a first line. Trying to manipulate them, e.g. with csvtk transpose results in
Would you consider catching this line, ignoring it and adding it to the resulting file if present? Could very well be a command-line option as well.
The text was updated successfully, but these errors were encountered: