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

fixlengths is missing the field delimiter option for output (-t) #332

Open
realulim opened this issue Nov 3, 2023 · 0 comments
Open

fixlengths is missing the field delimiter option for output (-t) #332

realulim opened this issue Nov 3, 2023 · 0 comments

Comments

@realulim
Copy link

realulim commented Nov 3, 2023

It will always use "," as output delimiter and I believe the correct behavior would be to either use the original delimiter or implement the -t output delimiter option.

This behavior can lead to unexpected/unwanted conversions:

Say, the original delimiter is ";" and the comma appears in fields as decimal seperator unquoted (such as in German formatting for floating point numbers), then xsv will quote the floating point numbers (as they contain a comma), thus force-converting the value to a string.

However, if I want to retain the floating point numbers and have a non-comma field seperator, then there appears to be no way to use fixlengths.

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

No branches or pull requests

1 participant