mirror of
				https://github.com/everett7623/nodeloc_vps_test.git
				synced 2025-11-04 08:27:51 +00:00 
			
		
		
		
	Update nodeloc_vps_autotest_ip.sh
This commit is contained in:
		
							parent
							
								
									179d629733
								
							
						
					
					
						commit
						8a5b45ad1a
					
				@ -115,7 +115,7 @@ declare -a test_results
 | 
			
		||||
# 去除流媒体板块ANSI转义码并截取需要的部分
 | 
			
		||||
ip_process_output() {
 | 
			
		||||
    local input="$1"
 | 
			
		||||
    echo "$input" | sed 's/\x1b\[[0-9;]*m//g' | awk '/#######################/{f=1} f; /按回车键返回主菜单/{f=0}'
 | 
			
		||||
    echo "$input" | sed 's/\x1b\[[0-9;]*m//g' | awk '/########################################################################/{f=1} f; /按回车键返回主菜单/{f=0}'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# 在每个命令执行后保存结果
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user