From: Mart Lubbers Date: Fri, 12 May 2017 07:48:09 +0000 (+0200) Subject: add cloogle client X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=6b5ad5507b4ba05d94f81939aaecc1b333f04b80;p=dotfiles.git add cloogle client --- 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