We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example:
$ echo 'x,,z' | goawk -F'[^,]*' '{for (i=1;i<=NF;i++) print i, "<"$i">"}' 1 <> 2 <,> 3 <,> 4 <> # Should be (and other AWKs print): $ echo 'x,,z' | gawk -F'[^,]*' '{for (i=1;i<=NF;i++) print i, "<"$i">"}' 1 <> 2 <,,> 3 <>
See https://www.austingroupbugs.net/view.php?id=1468 (0001468).
Thanks @raygard for the report.
The text was updated successfully, but these errors were encountered:
Fix benhoyt#190: FS regex [^,]* fails on empty field
ed05f55
A custom split function has been introduced. This split function skips empty matches. It is used only for FS
add tests to check that field separator cannot match empty field
5dc4647
See benhoyt#190 for details
Fix #190: FS regex [^,]* fails on empty field (#214)
d4cd0af
A custom split function has been introduced. This split function skips empty matches. It is used only for FS. See #190 for details
Successfully merging a pull request may close this issue.
For example:
See https://www.austingroupbugs.net/view.php?id=1468 (0001468).
Thanks @raygard for the report.
The text was updated successfully, but these errors were encountered: