Why Nostr? What is Njump?
2024-12-06 09:17:04
in reply to

Mattias Wadman on Nostr: nprofile1q…fcluh nprofile1q…wr3vg hey, no worries! you mean something like this? ...

hey, no worries! you mean something like this?

# using --arg, value is a string
$ echo '"hello"' | jaq --arg new world '. + $new'
"helloworld"

# "emulate" --argjson using fromjson, value is a json string
$ echo '"hello"' | jaq --arg new '"world"' '($new | fromjson) as $new | . + $new'
"helloworld"
Author Public Key
npub1kx3d8pcl2cpfy98zy8gd7lqjqpfavgxwqvnvqk5rz7xvkpxw280sj94a5h