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

goawk CSV mode ignores specified field separator #218

Closed
lucamanga opened this issue Nov 7, 2023 · 2 comments
Closed

goawk CSV mode ignores specified field separator #218

lucamanga opened this issue Nov 7, 2023 · 2 comments

Comments

@lucamanga
Copy link

Hello,

running latest goawk version with:

goawk -i csv -F\; '{print $3}' FILE.csv

it ignores the -F parameter. It works without "-i csv".

How can I specify custom field separator in csv mode?

@lucamanga
Copy link
Author

My fault. RTFM.

goawk -i 'csv separator=;' '{print $3}' cf.txt

@benhoyt
Copy link
Owner

benhoyt commented Nov 8, 2023

You got it! :-)

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