In my understanding unused variable in jq query shouldn't affect output, for example this echoes it's input: "bla" as $str | ."
.
However, empty as $var | .
produces no output. Is it expected?
In my understanding unused variable in jq query shouldn't affect output, for example this echoes it's input: "bla" as $str | ."
.
However, empty as $var | .
produces no output. Is it expected?