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