bin/pb @ 8a1376b77b80

its a bird its a plane no its just a plane actually
author Steve Losh <steve@stevelosh.com>
date Thu, 21 Jan 2016 15:50:58 +0000
parents 25ffd1bd1092
children f14a899254c7
#!/usr/bin/env bash

set -e

curl -F 'sprunge=<-' http://paste.stevelosh.com | tr -d '\n' | sed -e 's_sprunge-stevelosh.herokuapp.com_http://paste.stevelosh.com_' | pbcopy
echo
curl -s "`pbpaste`"
tput bold
echo ""
echo "Copied URL `pbpaste` to clipboard"