summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-16 22:01:44 +0200
committerlassulus <lass@aidsballs.de>2015-05-16 22:01:44 +0200
commit5c4ddbcdc097cd7b4a66423c72d6768d3e2a80d8 (patch)
treeee48ac7b30ea7e7e8d4588a9260df7746054f27b
parenta6870c5588c45a13359c26744ffb38a5ad88742f (diff)
util/bin/paste: remove unnessecery part from link
-rwxr-xr-xutil/bin/paste2
1 files changed, 1 insertions, 1 deletions
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