Why Nostr? What is Njump?
2023-09-01 00:01:08

Rich Lafferty 🐀 on Nostr: $ a8e () { LEN=$(( $(echo -n $1 | wc -c) - 2)); echo $1 | sed ...

$ a8e () { LEN=$(( $(echo -n $1 | wc -c) - 2)); echo $1 | sed "s/^\(.\).*\(.\)$/\1$LEN\2/"; }

$ e9e () { LEN=$(echo $1 | sed 's/^.\(.*\).$/\1/'); GREP=$(echo $1 | sed "s/^\(.\).*\(.\)$/^\1.{$LEN}\2$/"); grep -E "$GREP" /usr/share/dict/words; }

(pardon the lack of formatting, here’s a gist alternative: https://gist.github.com/wlonkly/348910a0a40fc63dcca2250c758b0a34)
Author Public Key
npub17qdfhk2sh0m64z97z4hhklpk6z7z5hp0evn2yz4zh942y95ewe3sjnwdrr