From 5dc8a2f8cbdad84d0cfa3a3dab50b9e9e80aa794 Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 27 Jun 2024 14:57:58 +0800 Subject: [PATCH] Update nodeloc_vps_autotest_fusion.sh --- nodeloc_vps_autotest_fusion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodeloc_vps_autotest_fusion.sh b/nodeloc_vps_autotest_fusion.sh index b6b999e..afc6e74 100644 --- a/nodeloc_vps_autotest_fusion.sh +++ b/nodeloc_vps_autotest_fusion.sh @@ -135,7 +135,7 @@ declare -a test_results # 去除融合怪板块板块ANSI转义码 fusion_process_output() { local input="$1" - echo "$input" | sed 's/\x1b\[[0-9;]*m//g' + echo "$input" | sed 's/\x1b\[[0-9;]*m//g' | awk '/--------------------- A Bench Script/{f=1} f; /短链:https://{f=0}' } # 在每个命令执行后保存结果