Update Nlbench_beta.sh

This commit is contained in:
Jensfrank 2024-07-17 21:45:16 +08:00 committed by GitHub
parent dadafe6b8a
commit 50553ef150
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -210,7 +210,7 @@ run_script() {
# YABS
1)
echo -e "运行${YELLOW}YABS...${NC}"
curl -sL yabs.sh | bash -s -- -5 -i | tee "$temp_file"
bash <(curl -sL yabs.sh | bash -s -- -5 -i) | tee "$temp_file"
sed -i 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file"
sed -i 's/\.\.\./\.\.\.\n/g' "$temp_file"
sed -i '/\.\.\./d' "$temp_file"