From 6b5ad5507b4ba05d94f81939aaecc1b333f04b80 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Fri, 12 May 2017 09:48:09 +0200 Subject: [PATCH] add cloogle client --- x/.local/bin/cloo.gl | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 x/.local/bin/cloo.gl diff --git a/x/.local/bin/cloo.gl b/x/.local/bin/cloo.gl new file mode 100755 index 0000000..e9abf88 --- /dev/null +++ b/x/.local/bin/cloo.gl @@ -0,0 +1,3 @@ +#!/bin/sh +perl -pe 's/([^a-zA-Z0-9_.!~*()'\''-])/sprintf("%%%02X",ord($1))/ge' | + xargs -I{} curl -X POST -d "type=regular&token=a&url={}" http://cloo.gl -- 2.20.1