mempool/production/mempool-logger

8 lines
177 B
Plaintext
Raw Normal View History

#!/bin/sh
trap "" PIPE
while read input;do
if [ ! -z "${input}" ];then
2021-08-21 08:39:15 +02:00
echo "\`\`\`${input}\`\`\`" | /usr/local/bin/keybase chat send --nonblock --channel "$2" "$1"
fi
done