pgfutter icon indicating copy to clipboard operation
pgfutter copied to clipboard

-d <delimiter> does not work with tab

Open dirkpetersen opened this issue 7 years ago • 2 comments

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

dirkpetersen avatar Mar 14 '17 01:03 dirkpetersen

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

kiru avatar Apr 05 '17 19:04 kiru

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

tkchan007 avatar Aug 10 '17 14:08 tkchan007