3 This plugin uploads data and fetch URL from the pastebin http://sprunge.us
5 To enable it, add 'sprunge' to your plugins:
13 | Command | Description |
14 |------------------------------|-------------------------------------------|
15 | `sprunge filename.txt` | Uploads filename.txt |
16 | `sprunge "this is a string"` | Uploads plain text |
17 | `sprunge < filename.txt` | Redirects filename.txt content to sprunge |
18 | `echo data \| sprunge` | Any piped data will be uploaded |
20 Once sprunge has processed the input it will give you a unique HTTP address:
24 http://sprunge.us/XxjnKz
29 - Sprunge accepts piped data, stdin redirection, text strings as input or filenames.
30 Only one of these can be used at a time.
31 - Argument precedence goes as follows: stdin > piped input > text strings.
32 - If a filename is misspelled or doesn't have the necessary path description, it will NOT
33 generate an error, but instead treat it as a text string.
37 - Original code: [shellperson.net](https://web.archive.org/web/20190910065842/https://www.shellperson.net/sprunge-pastebin-script/).
38 - Adapted by: Matt Parnell (@ilikenwf).