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
concat throws an error if the first supplied file is empty #259
Comments
Thanks for reporting this. I've fixed it last week. csvtk_darwin_amd64.tar.gz |
This seems not resolved and depends of the order of input files. If first file is empty, it says 'no input data' #data
echo -e "1,2,3\n1,2,3" > data1.csv
echo -e "4,5,6\n4,5,6" > data2.csv
touch empty.csv
$ csvtk concat -H data1.csv data2.csv empty.csv
[WARN] csvtk concat: skipping empty input file: empty.csv
1,2,3
1,2,3
4,5,6
4,5,6
$ csvtk concat -H empty.csv data1.csv data2.csv
[WARN] csvtk concat: skipping empty input file: empty.csv
[WARN] csvtk concat: no input data |
shenwei356
added a commit
that referenced
this issue
Nov 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
csvtk version
Describe your issue
Thank you
I'm grateful to users who have greatly helped to report bugs and suggested new features.
I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).
The text was updated successfully, but these errors were encountered: