aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-26 16:46:44 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-26 16:46:44 +1300
commit61fa2a0c748537532eb5e5a3e19fbe4cd3eaa01c (patch)
tree3ca4e973e8ae0e42b2c7a09e7b2a965bef8a3408
parentSeparate args from cmd in loc(1df) manpage (diff)
downloaddotfiles-61fa2a0c748537532eb5e5a3e19fbe4cd3eaa01c.tar.gz
dotfiles-61fa2a0c748537532eb5e5a3e19fbe4cd3eaa01c.zip
Switch to using ix.io pastebin
-rw-r--r--README.markdown2
-rwxr-xr-xbin/ix4
-rwxr-xr-xbin/spr4
-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.
diff --git a/bin/ix b/bin/ix
new file mode 100755
index 00000000..45c1f860
--- /dev/null
+++ b/bin/ix
@@ -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>