Closed benjaminweb closed 10 years ago
I don't know whether the following relates to that: sprunge() { curl -F 'sprunge=<-' http://sprunge.us < "${1:-/dev/stdin}"; } # usage: sprunge FILE # or some_command | sprunge
(Borrowed from #bash on freenode.)
see #6
I agree that in that specific use case, it's superfluous. However I believe it serves a good illustration of piping the output from any other command, and as such should remain.