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 would expect the exit code to be 0 for both, as valid output was produced. Instead, the exit codes differ depending on whether or not the last item produced a valid output.
Environment (please complete the following information):
OS and Version: macOS Monterey 12.6.1
jq version 1.6
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Yes, that fixed it! I tried to look for open issues first. Seems I didn't search effectively enough, as I didn't see the issue that fixed. Thanks for your help!
Describe the bug
Using
select
, the exit code when using the-e
flag depends only on the last item processed, not any item.To Reproduce
Expected behavior
Both of the above lines produce the same output (when run without the output flags):
I would expect the exit code to be 0 for both, as valid output was produced. Instead, the exit codes differ depending on whether or not the last item produced a valid output.
Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: