curl -s http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest | grep "CN" | grep "ipv4" | cut -d "|" -f 4,5 >> raw
sed -i "s/67108864/6/g" raw
sed -i "s/33554432/7/g" raw
sed -i "s/16777216/8/g" raw
sed -i "s/8388608/9/g" raw
sed -i "s/4194304/10/g" raw
sed -i "s/2097152/11/g" raw
sed -i "s/1048576/12/g" raw
sed -i "s/524288/13/g" raw
sed -i "s/262144/14/g" raw
sed -i "s/131072/15/g" raw
sed -i "s/65536/16/g" raw
sed -i "s/32768/17/g" raw
sed -i "s/16384/18/g" raw
sed -i "s/8192/19/g" raw
sed -i "s/4096/20/g" raw
sed -i "s/2048/21/g" raw
sed -i "s/1024/22/g" raw
sed -i "s/512/23/g" raw
sed -i "s/256/24/g" raw
sed -i "s#|#/#g" raw
mv raw china\_ip.txt