You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm possibly missing something, but can't get mlr (v6.12.0-dev) to work with comments containing double quotes:
$ echo -e '# Foo "bar" quux'| mlr --skip-comments --c2m cat
mlr: parse error on line 1, column 7: bare " in non-quoted-field.
Shouldn't it ignore the comment line altogether?
The text was updated successfully, but these errors were encountered:
sphakka
changed the title
Notwithstanding --skip-comments, double-quoted tokens in comment are mishandled with any 'cc'
Notwithstanding --skip-comments, double-quoted tokens in comment are mishandled with any --c2* option
May 12, 2024
In Miller <= 5 (written in C) I had my own CSV parser and I could make it do the right thing.
In Miller 6 (re-written in Go) I use the Go library's CSV parser. Unfortunately, it parses CSV liines as CSV and then lets me decide whether or not they look like comments. This isn't great.
I either need to port my own CSV parser from C to Go and stop using the Go library's CSV parser, or, maybe find some way to intervene in what it's doing ....
I'm possibly missing something, but can't get mlr (v6.12.0-dev) to work with comments containing double quotes:
Shouldn't it ignore the comment line altogether?
The text was updated successfully, but these errors were encountered: