Update Nlbench_pro.sh

This commit is contained in:
Jensfrank 2024-07-04 12:28:24 +08:00 committed by GitHub
parent cb05e7a7e5
commit 35f5068309
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)