-
Notifications
You must be signed in to change notification settings - Fork 74
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
diff
: Provide an option to set the delimiter for the output
#1396
Comments
Hi @janriemer , your proposed solutions sounds good to me.
|
@jqnatividad Yes, good point regarding consistency. 👍 I've actually deliberately chosen Regarding So I propose, we use the term What do you think? Naming things is hard 😩 |
OK @janriemer... though |
Hi @jqnatividad thank you for the pointer! 👍 I wasn't aware of qsv using To be consistent, I propose to use I hope, you haven't released this new feature of Thank you! 🙂 |
Great! |
Feature request
As a user of
diff
I'd like to be able to determine which delimiter (e.g. ',' or ';') is used for the output/result, so that I can use the resulting CSV with this custom delimiter. Currently, the output/result always has the default delimiter (',').Possible solution
A possible solution for this is to have an additional flag
--delimiter-result
, which works analog to--delimiter-left
and--delimiter-right
respectively, but determines the delimiter that is used for the diff result.Possible alternatives
An alternative to the above solution could be to use the same delimiter for the result that is used for the input CSVs (
--delimiter-left
and--delimiter-right
).The problem with this solution is: how to decide, which delimiter to use for the result, when
--delimiter-left
and--delimiter-right
are different?Additional context
This feature request aligns well with #1326, because that issue has been the first, where additional flags/options for the diff result had to be considered.
@jqnatividad What do you think about this? 🙂 You can assign me for this.
Tasks
--no-headers-result
->--no-headers-output
(see discussion)--delimiter-output
=> All tasks complete! See PR #1402
The text was updated successfully, but these errors were encountered: