0

Say I have a json file that containers a var:

a.json

{"hello": "$WHO"}

And I have WHO in environment: export WHO=world. I want to interpolate a.json from env and generate a new json file:

{"hello": "world"}

Is there a pure shell way to archive that?

TieDad
  • 9,143
  • 5
  • 32
  • 58

0 Answers0