From 35f506830994c18f1b2b1a4d026c3d70dd3d2fba Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 4 Jul 2024 12:28:24 +0800 Subject: [PATCH] Update Nlbench_pro.sh --- Nlbench_pro.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Nlbench_pro.sh b/Nlbench_pro.sh index 49d1be7..9947747 100644 --- a/Nlbench_pro.sh +++ b/Nlbench_pro.sh @@ -136,10 +136,9 @@ run_script() { # 融合怪 2) echo -e "运行${YELLOW}融合怪...${NC}" - curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh -m 1 | tee "$temp_file" - sed -e 's/\x1B\[[0-9;]*[JKmsu]//g' -e '1,/--------------------- A Bench Script By spiritlhl ----------------------/d' "$temp_file" - sed -i '1,/--------------------- A Bench Script By spiritlhl ----------------------/d' "$temp_file" - cp "$temp_file" "${output_file}_fusion" + curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh -m 1 <<< "y" | tee "$temp_file" + sed -i 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" + sed -n '/^--------------------- A Bench Script By spiritlhl ----------------------/,$p' "$temp_file" > "${output_file}_fusion" ;; # IP质量 3)