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
oq --null-input .
oroq -n .
should not be waiting for anything coming from stdin, considering that jq will ignore stdin and just usenull
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:Thanks for this super cool tool by the way :+1: