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

Escape square bracket in column header? #335

Open
joeyhoer opened this issue Jan 10, 2024 · 1 comment
Open

Escape square bracket in column header? #335

joeyhoer opened this issue Jan 10, 2024 · 1 comment

Comments

@joeyhoer
Copy link

I have a CSV file that has a header column named "Metafield: customer_fields.your_family [json]". Is it possible to select this field by name? When I try to use:

xsv select "Metafield: customer_fields.data [json]" input.csv

I get the following error:

Could not convert 'json' to an integer: invalid digit found in string
@BurntSushi
Copy link
Owner

xsv select -h shows an example.

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

2 participants