From 3fb2b4a38d275e976965966b1c7429048fa087e9 Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 4 Jul 2024 22:28:29 +0800 Subject: [PATCH] Update Nlbench_beta.sh --- Nlbench_beta.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Nlbench_beta.sh b/Nlbench_beta.sh index 44b57bc..3fbcf01 100644 --- a/Nlbench_beta.sh +++ b/Nlbench_beta.sh @@ -166,6 +166,7 @@ run_script() { echo -e "运行${YELLOW}IP质量测试...${NC}" bash <(curl -Ls IP.Check.Place) | tee "$temp_file" sed -i 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" + sed -i -r 's/(⠋|⠙|⠹|⠸|⠼|⠴|⠦|⠧|⠇|⠏)/\n/g' "$temp_file" sed -i -n '/########################################################################/,${s/^.*\(########################################################################\)/\1/;p}' "$temp_file" sed -i '/^$/d' "$temp_file" cp "$temp_file" "${output_file}_ip_quality"