Remove last "|" in ip.txt