I don't like that it is just a composition of bash and the filesystem. I'd just do this: id=$(uuidgen) echo '{"hi":"mom"}' | jq . > id cat id
I don't like that it is just a composition of bash and the filesystem. I'd just do this: id=$(uuidgen) echo '{"hi":"mom"}' | jq . > id cat id