Command line pastebin

Stéphane Graber stgraber at
Fri Nov 3 18:50:25 GMT 2006

I can't remember on which of these two lists there was someone looking
for an easy to use "pastebin" command.
As I had some free time today and needed to play a little bit again with
python, I have just written one.
It accepts both pipe and file input and just return the URL.
Example :
	echo "foo" | pastebin -
or	pastebin bar
The poster name on is your system's login.

Hope it will help some people.


More information about the ubuntu-devel mailing list