curl --head <url> -s | grep -o http://wp\.me/[a-zA-Z0-9\-]*
curl --head http://pepijn.cqhosting.nl/ -s | \ sed -n 's/Link: <\(.*\)>; rel=shortlink/\1/p'
%_shorten{<url>}
curl --head <url> -s | grep -o http://wp\.me/[a-zA-Z0-9\-]*
curl --head http://pepijn.cqhosting.nl/ -s | \ sed -n 's/Link: <\(.*\)>; rel=shortlink/\1/p'
%_shorten{<url>}