Quantcast
Channel: Active questions tagged jq - Stack Overflow
Viewing all articles
Browse latest Browse all 527

jq: 'empty' variable leads to empty output - is it expected behavior?

$
0
0

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?


Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>