commit cdb18efbc6d8238f115e8d68a36edafabca3fcd4 parent f34e080b12ae1d5f8abd20dec412fd236744ecc8 Author: sin <sin@2f30.org> Date: Thu, 12 Apr 2018 13:13:24 +0100 sprunge is dead, use ix Diffstat:
A | ix | | | 13 | +++++++++++++ |
D | sprunge | | | 13 | ------------- |
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/ix b/ix @@ -0,0 +1,13 @@ +#!/bin/sh + +# upload text to ix.io + +PASTE() { + curl -F 'f:1=<-' ix.io +} + +if test -z "$1"; then + cat - | PASTE +else + cat "$1" | PASTE +fi diff --git a/sprunge b/sprunge @@ -1,13 +0,0 @@ -#!/bin/sh - -# upload text to sprunge.us - -SPRUNGE() { - curl -F 'sprunge=<-' http://sprunge.us -} - -if test -z "$1"; then - cat - | SPRUNGE -else - cat "$1" | SPRUNGE -fi