#!/bin/bash


url=$(cat | netcat termbin.com 9999 | tr -d '\0')
if   [ "$url" ]
then echo $url | xclip -selection clipboard -rmlastnl
     echo "paste uploaded to: $url (URL copied to clipboard)"
else echo "paste upload failed"
fi
