From 8a5b45ad1a1e10282d36d174af9218dcaf0a72cb Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 27 Jun 2024 15:20:40 +0800 Subject: [PATCH] Update nodeloc_vps_autotest_ip.sh --- nodeloc_vps_autotest_ip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodeloc_vps_autotest_ip.sh b/nodeloc_vps_autotest_ip.sh index 93c821a..51faec6 100644 --- a/nodeloc_vps_autotest_ip.sh +++ b/nodeloc_vps_autotest_ip.sh @@ -115,7 +115,7 @@ declare -a test_results # 去除流媒体板块ANSI转义码并截取需要的部分 ip_process_output() { local input="$1" - echo "$input" | sed 's/\x1b\[[0-9;]*m//g' | awk '/#######################/{f=1} f; /按回车键返回主菜单/{f=0}' + echo "$input" | sed 's/\x1b\[[0-9;]*m//g' | awk '/########################################################################/{f=1} f; /按回车键返回主菜单/{f=0}' } # 在每个命令执行后保存结果