From 2dec3cccd4b68542789aea99aa32cbeb3dbb1490 Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 8 Aug 2024 23:43:17 +0800 Subject: [PATCH] Update Nlbench.sh --- Nlbench.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Nlbench.sh b/Nlbench.sh index 7325c5c..3f37d8d 100644 --- a/Nlbench.sh +++ b/Nlbench.sh @@ -1,7 +1,7 @@ #!/bin/bash # 定义版本 -CURRENT_VERSION="2024-07-31 v1.1.0" # 最新版本号 +CURRENT_VERSION="2024-08-08 v1.1.1" # 最新版本号 SCRIPT_URL="https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/Nlbench.sh" VERSION_URL="https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/version.sh" @@ -427,7 +427,8 @@ run_script() { echo "使用IPv4测试选项" wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh <<< "1" | tee "$temp_file" fi - sed -i -e 's/\x1B\[[0-9;]*[JKmsu]//g' -e '/测试项/,+9d' -e '/信息/d' -e '/^\s*$/d' "$temp_file" +// sed -i -e 's/\x1B\[[0-9;]*[JKmsu]//g' -e '/测试项/,+9d' -e '/信息/d' -e '/^\s*$/d' "$temp_file" + sed -i -e 's/\x1B\[[0-9;]*[JKmsu]//g' -e '/No:1\/9 Traceroute to/,$!d' -e '/测试项/,+9d' -e '/信息/d' -e '/^\s*$/d' "$temp_file" cp "$temp_file" "${output_file}_route" ;; esac