summaryrefslogtreecommitdiff
path: root/zshfunc/sd
blob: 92ee1cf971aa8fbc76e3ce6a77c9121e16669762 (plain)
1
2
3
4
5
6
7
## vim:ft=zsh:foldmethod=marker

local fp
fp=$(   wget -q -O - http://tor.noreply.org:80/tor/status-vote/current/consensus | \
	awk '$1 == "r" && $2 == "'$1'" {printf "%s===", $3}' | \
	perl -MMIME::Base64 -e "print unpack(\"H*\", decode_base64(<>)),\"\n\"" )
echo wget -q -O - http://tor.noreply.org:80/tor/server/fp/$fp