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

-d <delimiter> does not work with tab #37

Open
dirkpetersen opened this issue Mar 14, 2017 · 2 comments
Open

-d <delimiter> does not work with tab #37

dirkpetersen opened this issue Mar 14, 2017 · 2 comments
Labels

Comments

@dirkpetersen
Copy link

using a custom delimiter I am getting this:

pgfutter --dbname tester --host mydb --port 32063 --username tester csv -d "\t" ~/sc/data/jobs.csv
Please specify the correct delimiter with -d.
Header column contains a delimiter character: job_db_inx account cpus_req exit_code job_name id_job id_user nodelist priority state partition timelimit time_submit time_eligible time_start time_end time_suspended

@kiru
Copy link

kiru commented Apr 5, 2017

I think this problem already explained in the documentation:

If you want to use tab as delimiter you need to pass $'\t' as delimiter to ensure your shell does not swallow the correct delimiter.
pgfutter csv -d $'\t' traffic_violations.csv

@tkchan007
Copy link

doesn't work even with the -d $'\t'. on Windows 10 Pro. Thanks.

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

No branches or pull requests

4 participants