Skip to content

Parsing simple CSV #4

Answered by mmalcek
kpym asked this question in Q&A
Dec 5, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi in this case the issue is that you have range of values so you have to iterate over range - I've tested it and it works with

.\bafi -f csv -i test.csv -t '?{{range .}}{{.clatcoor}}{{end}}'

I agree that better arror message would be nice, I'll enhance it in next versions

About separator - I will prepare some option to change separator in next version but currently it works only with CSV as specified in rfc4180 https://datatracker.ietf.org/doc/html/rfc4180

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kpym
Comment options

@mmalcek
Comment options

@kpym
Comment options

Answer selected by kpym
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants