diff --git a/plugins/sprunge/sprunge b/plugins/sprunge/sprunge new file mode 100755 index 000000000..d033d61c9 --- /dev/null +++ b/plugins/sprunge/sprunge @@ -0,0 +1,77 @@ +#!/bin/zsh + +# Contributed and SLIGHTLY modded by Matt Parnell/ilikenwf +# Created by the blogger at the URL below...I don't know where to find his/her name +# Original found at http://www.shellperson.net/sprunge-pastebin-script/ + +usage() { + cat << HERE + +DESCRIPTION + Upload data and fetch URL from the pastebin http://sprunge.us + +USAGE + $0 filename.txt + $0 < filename.txt + piped_data | $0 + +INPUT METHODS + +$0 can accept piped data, STDIN redirection [