From 5c4ddbcdc097cd7b4a66423c72d6768d3e2a80d8 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 16 May 2015 22:01:44 +0200 Subject: util/bin/paste: remove unnessecery part from link --- util/bin/paste | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/bin/paste b/util/bin/paste index be29c78f..b7cc6c99 100755 --- a/util/bin/paste +++ b/util/bin/paste @@ -15,7 +15,7 @@ case $hoster in paste.retiolum|paste) curl -sS -F 'file=@-;type=text/plain' \ http://paste.retiolum:5000/+upload \ - | sed -n 's|.*href="\([^"]*\).*|http://paste.retiolum\1\n|p' + | sed -n 's|.*href="\([^#]*\).*|http://paste.retiolum\1\n|p' ;; ix.io) curl -sS -F 'f:1=<-' ix.io -- cgit v1.2.3