mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-14 03:55:19 +00:00
Update Nlbench_beta.sh
This commit is contained in:
parent
762542e5e2
commit
3fb2b4a38d
@ -166,6 +166,7 @@ run_script() {
|
|||||||
echo -e "运行${YELLOW}IP质量测试...${NC}"
|
echo -e "运行${YELLOW}IP质量测试...${NC}"
|
||||||
bash <(curl -Ls IP.Check.Place) | tee "$temp_file"
|
bash <(curl -Ls IP.Check.Place) | tee "$temp_file"
|
||||||
sed -i 's/\x1B\[[0-9;]*[JKmsu]//g' "$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 -n '/########################################################################/,${s/^.*\(########################################################################\)/\1/;p}' "$temp_file"
|
||||||
sed -i '/^$/d' "$temp_file"
|
sed -i '/^$/d' "$temp_file"
|
||||||
cp "$temp_file" "${output_file}_ip_quality"
|
cp "$temp_file" "${output_file}_ip_quality"
|
||||||
|
Loading…
Reference in New Issue
Block a user