2 uri="http://vpaste.net/"
4 out=$(curl -s -F "x=<$1" "$uri?$2")
6 out=$(curl -s -F 'x=<-' "$uri?$1")
9 if [ -x "`which xclip 2>/dev/null`" -a "$DISPLAY" ]; then
10 echo -n "$out" | xclip -i -selection primary
11 echo -n "$out" | xclip -i -selection clipboard