Update Nlbench_beta.sh

This commit is contained in:
Jensfrank 2024-06-28 13:59:26 +08:00 committed by GitHub
parent 2ec38ac32e
commit 1a667aef61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,7 +185,7 @@ speedtest_multi_process_output() {
# Step 3: 截取所需的测试结果
local speedtest_multi_process_output_result
speedtest_multi_process_output_result=$(echo "$no_progress" | awk '/大陆三网+教育网 IPv4 多线程测速/{f=1} f; /北京时间/{f=0}')
speedtest_multi_process_output_result=$(echo "$no_progress" | awk '/大陆三网\+教育网 IPv4 多线程测速/{f=1} f; /北京时间/{f=0}')
echo "$speedtest_multi_process_output_result"
}
@ -204,7 +204,7 @@ speedtest_single_process_output() {
# Step 3: 截取所需的测试结果
local speedtest_single_process_output_result
speedtest_single_process_output_result=$(echo "$no_progress" | awk '/大陆三网+教育网 IPv4 单线程测速/{f=1} f; /北京时间/{f=0}')
speedtest_single_process_output_result=$(echo "$no_progress" | awk '/大陆三网\+教育网 IPv4 单线程测速/{f=1} f; /北京时间/{f=0}')
echo "$speedtest_single_process_output_result"
}