mempool/production/mempool-logger

8 lines
184 B
Plaintext
Raw Normal View History

#!/bin/sh
trap "" PIPE
while read input;do
if [ ! -z "${input}" ];then
2021-01-30 12:09:47 +01:00
echo "\`\`\`${input}\`\`\`" | /usr/local/bin/keybase chat send --nonblock --channel $1 mempool.space
fi
done