This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Add support to tab separated csv files #50
Comments
Hi Pedro, you have to use the --sep argument. You can check it by running
csvdiff --help.
Tabs are still not easy, on the terminal you have to type:
csvdiff --sep='
and then at that moment, to enter a tab character, you press <ctrl+v> then
<tab> in the terminal, and it will output one. Then you close the quote and
add the other arguments.
Give it a try.
…On Wed, 5 Dec 2018 at 11:30, Pedro Vieira ***@***.***> wrote:
Hi,
So, was using this plugin and could not use it with tab separated csv
files. All good for comma separated ones, but not tab separated ones.
Is viable to do this support based on the current implementation?
PS: If so, and if not a priority, i can try to do a PR for this.
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACMrMlNVpiosieD5VTCk8mlT99Zt247ks5u16BbgaJpZM4ZCcGI>
.
|
Also tried it but it gives an error.
|
Hmm... it's definitely possible on the command line, as well as via API,
although I agree we could use a command-line argument to make it easier.
In the meantime, you can also convert to comma-separated and work with
that. A package called csvkit has tools that are good for that.
e.g. to convert from tsv to csv
pip install csvkit
csvcut -t myfile.tsv >myfile.csv
…On Mon, 10 Dec 2018 at 16:15, Pedro Vieira ***@***.***> wrote:
Also tried it but it gives and error.
ERROR: CSV parse error on line 2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACMrEYIof4x4CJUoQXxxjBeeZhzM-X1ks5u3np9gaJpZM4ZCcGI>
.
|
I tested out passing a tab as
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
So, was using this plugin and could not use it with tab separated csv files. All good for comma separated ones, but not tab separated ones.
Is viable to do this support based on the current implementation?
PS: If so, and if not a priority, i can try to do a PR for this.
Thanks in advance
The text was updated successfully, but these errors were encountered: