Command line pastebin

Stéphane Graber stgraber at stgraber.org
Fri Nov 3 18:50:25 UTC 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
paste.ubuntu-nl.org URL.
Example :
	echo "foo" | pastebin -
or	pastebin bar
The poster name on paste.ubuntu-nl.org is your system's login.

http://www.stgraber.org/download/pastebin.py

Hope it will help some people.

Stéphane




More information about the edubuntu-devel mailing list