|
|
|
@ -18,7 +18,8 @@ plugins=(... sprunge) |
|
|
|
| `echo data \| sprunge` | Any piped data will be uploaded | |
|
|
|
| `echo data \| sprunge` | Any piped data will be uploaded | |
|
|
|
|
|
|
|
|
|
|
|
Once sprunge has processed the input it will give you a unique HTTP address: |
|
|
|
Once sprunge has processed the input it will give you a unique HTTP address: |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
$ sprunge "hello" |
|
|
|
$ sprunge "hello" |
|
|
|
http://sprunge.us/XxjnKz |
|
|
|
http://sprunge.us/XxjnKz |
|
|
|
``` |
|
|
|
``` |
|
|
|
@ -30,3 +31,8 @@ http://sprunge.us/XxjnKz |
|
|
|
- Argument precedence goes as follows: stdin > piped input > text strings. |
|
|
|
- Argument precedence goes as follows: stdin > piped input > text strings. |
|
|
|
- If a filename is misspelled or doesn't have the necessary path description, it will NOT |
|
|
|
- If a filename is misspelled or doesn't have the necessary path description, it will NOT |
|
|
|
generate an error, but instead treat it as a text string. |
|
|
|
generate an error, but instead treat it as a text string. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Credits |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Original code: [shellperson.net](https://web.archive.org/web/20190601000000*/https://www.shellperson.net/sprunge-pastebin-script/). |
|
|
|
|
|
|
|
- Adapted by: Matt Parnell (@ilikenwf). |
|
|
|
|