diff options
-rw-r--r-- | README.markdown | 2 | ||||
-rwxr-xr-x | bin/ix | 4 | ||||
-rwxr-xr-x | bin/spr | 4 | ||||
-rw-r--r-- | man/man1/ix.1df (renamed from man/man1/spr.1df) | 18 |
4 files changed, 14 insertions, 14 deletions
diff --git a/README.markdown b/README.markdown index 6949a29b..109af073 100644 --- a/README.markdown +++ b/README.markdown @@ -448,6 +448,7 @@ Installed by the `install-bin` target: that don't actually worry you, exiting with 0 anyway. * `isgr(1df)` quietly tests whether the given directory appears to be a Git repository. +* `ix(1df)` posts its input to the ix.io pastebin. * `jfc(1df)` adds and commits lazily to a Git repository. * `jfcd(1df)` watches a directory for changes and runs `jfc(1df)` if it sees any. @@ -472,7 +473,6 @@ Installed by the `install-bin` target: * `shb(1df)` attempts to build shebang lines for scripts from the system paths. * `sec(1df)` converts `hh:mm:ss` or `mm:ss` timestamps to seconds. -* `spr(1df)` posts its input to the sprunge.us pastebin. * `sqs(1df)` chops off query strings from filenames, usually downloads. * `sshi(1df)` prints human-readable SSH connection details. * `stex(1df)` strips extensions from filenames. @@ -0,0 +1,4 @@ +#!/bin/sh +# Convenience script for posting to ix.io pastebin +cat -- "${@:--}" | +curl -F 'f:1=<-' http://ix.io/ diff --git a/bin/spr b/bin/spr deleted file mode 100755 index 8ac846a6..00000000 --- a/bin/spr +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# Convenience script for posting to sprunge.us pastebin -cat -- "${@:--}" | -curl -F 'sprunge=<-' http://sprunge.us/ diff --git a/man/man1/spr.1df b/man/man1/ix.1df index 6f1ae79f..3ce86e96 100644 --- a/man/man1/spr.1df +++ b/man/man1/ix.1df @@ -1,23 +1,23 @@ -.TH SPR 1df "July 2016" "Manual page for spr" +.TH IX 1df "December 2016" "Manual page for ix" .SH NAME -.B spr -\- post input to sprunge.us pastebin and print the URL to stdout +.B ix +\- post input to ix.io pastebin and print the URL to stdout .SH SYNOPSIS -.B spr +.B ix file .br -.B spr +.B ix file1 file2 file3 .br declare -p | -.B spr +.B ix .SH DESCRIPTION -.B spr +.B ix uses curl(1) to make an HTTP POST request submitting all of its input (whether -files or stdin) to the sprunge.us pastebin. +files or stdin) to the ix.io pastebin. .SH SEE ALSO curl(1) .br -https://github.com/rupa/sprunge +http://ix.io/ .SH AUTHOR Tom Ryder <tom@sanctum.geek.nz> |