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

Fix evaluation of empty {} and END{} #230

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Fix evaluation of empty {} and END{} #230

merged 1 commit into from
Apr 25, 2024

Conversation

benhoyt
Copy link
Owner

@benhoyt benhoyt commented Apr 25, 2024

  • '{}' shouldn't be equivalent to '{ print $0 }'
  • 'END {}' should consume the input

Thanks @oguz-ismail

Fixes #228

- '{}' shouldn't be equivalent to '{ print $0 }'
- 'END {}' should consume the input

Thanks @oguz-ismail

Fixes #228
@benhoyt benhoyt merged commit 3f6ab11 into master Apr 25, 2024
10 checks passed
@benhoyt benhoyt deleted the fix-empty-blocks branch April 25, 2024 00:18
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

Successfully merging this pull request may close these issues.

{} behaves like 1, END{} doesn't exhaust input
1 participant