diff options
Diffstat (limited to 'zshfunc/sd')
-rw-r--r-- | zshfunc/sd | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,8 +1,6 @@ ## vim:ft=zsh:foldmethod=marker -sd() { - fp=$( wget -q -O - http://tor.noreply.org:80/tor/status/authority | \ - 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 -} +fp=$( wget -q -O - http://tor.noreply.org:80/tor/status/authority | \ + 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 |