Created
January 22, 2015 07:17
-
-
Save gonghao/e9b9ef170d82a0fde86e to your computer and use it in GitHub Desktop.
chnroute
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | grep ipv4 | grep CN | awk -F\| '{ printf("%s/%d\n", $4, 32-log($5)/log(2)) }' > chnroute.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment