This is a simple script to facilitate sharing text through pastebin.com. Like most UNIX utilities, it can take stdin or files on the command-line. Additionally nopaste can use the X cut buffer for input, designed to be used with a window-manager key binding or panel launcher.
The resulting URLs are printed to stdout and additionally placed in the X cut buffer for quick pasting.
Nopaste originally used the paste server at rafb.net, but it's been disabled since May 2009, so the script uses pastebin.com since version 2.0. In February 2010 pastebin.com was overhauled so nopaste 3.0 uses the new API.
$ ./nopaste --help usage: nopaste [options] [files] -e --expire WHEN Set expiration, N/10M/1H/1D/1M (defaults to N) -l --language LANG Set language, defaults to text -m --email EMAIL Address for confirmation, honors PASTE_EMAIL --private Make the paste private --subdomain STR Use subdomain -t --title STR Set paste title -x --xcut Paste from X selection (using xclip or xcut) --download Return download URL --raw Return raw URL --help Show this help --help-lang Show list of languages --version Show version info