This commit is contained in:
Thomas (nezza-_-) Roth 2013-01-10 15:37:05 -08:00
commit 1050aa45b1

View file

@ -57,8 +57,6 @@ sprunge() {
fi fi
else else
echo Using input from a pipe or STDIN redirection... >&2 echo Using input from a pipe or STDIN redirection... >&2
while read -r line ; do curl -F 'sprunge=<-' http://sprunge.us
echo $line
done | curl -F 'sprunge=<-' http://sprunge.us
fi fi
} }