Scott Williams 🐧 on Nostr: Here's a #bash native way to do the same thing: echo -e \\U$(printf "$((1 + $RANDOM % ...
Here's a #bash native way to do the same thing:
echo -e \\U$(printf "$((1 + $RANDOM % 0x10FFFF))\n" 85)
Published at
2023-11-13 20:31:13Event JSON
{
"id": "42c6c5e5f900e6bad46a5aff2fcff64f140ac90fc36ccab413c8ba2303e37911",
"pubkey": "beee28c6450eb5d21bf94279d1f3f41e524c87abf86393835b45e6a1e98390e7",
"created_at": 1699907473,
"kind": 1,
"tags": [
[
"e",
"d4df66a3ae51ccf45f4135ac6af470ac4514a9d15897ca35ec23d04c877b3f33",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"bash"
],
[
"proxy",
"https://mastodon.online/users/vwbusguy/statuses/111405136153389439",
"activitypub"
]
],
"content": "Here's a #bash native way to do the same thing:\n\necho -e \\\\U$(printf \"$((1 + $RANDOM % 0x10FFFF))\\n\" 85)",
"sig": "63dc45917b171d9705c0964be08b6582828010fdb87a76c41bca06e167da6d2abb5187149ce4613f204b208440c3de381ee7f11c1cc7a2e24157ccac982ac52d"
}