-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
kind:bugAn existing feature isn't doing something correctlyAn existing feature isn't doing something correctly
Description
oq --null-input . or oq -n . should not be waiting for anything coming from stdin, considering that jq will ignore stdin and just use null as the input.
Currently, doing oq -n . will immediately return null, but will still be waiting for something from stdin. The workaround is to send anything or just /dev/null to it:
$ jq -n .
null
$ oq -n .
null
^C
$ oq -n . </dev/null
null
$ echo lol | oq -n .
null
Thanks for this super cool tool by the way 👍
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind:bugAn existing feature isn't doing something correctlyAn existing feature isn't doing something correctly