What is Nostr?
Jonathan Carroll /
npub1kl6…gf30
2024-11-18 21:52:52
in reply to nevent1q…w8ys

Jonathan Carroll on Nostr: nprofile1q…5ftpf nprofile1q…vss2n (not sure if this is one of those 'do it the ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqr0g4wy74t7slgga6m9ta7cylrnzdc9jumvehwrqd2m863lhq5f9sd5ftpf (nprofile…ftpf) nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq6mtxp68k8c3p2sj0wzhagt3kd8ywkvzlkfyt3vrx9cahzfz000vsmvss2n (nprofile…ss2n) (not sure if this is one of those 'do it the complicated way' threads) but `bc` is my go-to shell math solution provided you can format your input as a math expression

$ echo "1\n2\n3" | paste -sd+ - | bc
6

$ echo "1 2 4" | sed -r 's/ +/+/g' | bc
7
Author Public Key
npub1kl6fnrhma07s6e67qecufyhhvyx8emckuase0x9u0emprjltzrrqeggf30