From 453c4076a656cfac7b796a7ddf94c2c01c233886 Mon Sep 17 00:00:00 2001 From: redrainl <61587864+redrainl@users.noreply.github.com> Date: Thu, 16 May 2024 16:39:31 +0800 Subject: [PATCH] Update multi_test.sh --- speedtest/multi_test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/speedtest/multi_test.sh b/speedtest/multi_test.sh index 947b59284..256349d97 100644 --- a/speedtest/multi_test.sh +++ b/speedtest/multi_test.sh @@ -127,8 +127,8 @@ esac # 使用城市名作为默认文件名,格式为 CityName.ip ipfile="ip/${city}.ip" onlyip="ip/${city}.onlyip" -# onlyport="ip/${city}.port" -onlyport="ip/all.port" +onlyport="ip/${city}.port" +# onlyport="ip/all.port" # 搜索最新ip echo "===============从tonkiang检索$channel_key最新ip=================" @@ -251,7 +251,7 @@ cat txt/Hebei_313.txt >>zubo.txt # cat zubo.txt mylist.txt >temp.txt && mv -f temp.txt mylist.txt # scp mylist.txt root@你的服务器:/speedtest/mylist.txt -for a in result/*.txt; do echo "";echo "========================= $(basename "$a") ==================================="; cat $a; done -for a in result/*.txt; do echo "";echo "========================= $(basename "$a") ==================================="; cat $a; done >> result/result_all +for a in result/*.txt; do echo "========================= $(basename "$a") ==================================="; cat $a; done +for a in result/*.txt; do echo "========================= $(basename "$a") ==================================="; cat $a; done >> result_all.txt #sed -i ':a;N;$!ba;s/\n/
/g' result/result_all.txt