I'm trying to create a JSON file by executing the following command:
jq --arg greeting world '{"hello":"$greeting"}'> file.jsonThis command stuck without any input. While
jq -n --arg greeting world '{"hello":"$greeting"}'> file.jsondoesn't parse correctly. I'm just wondering is really possible to create a JSON file.