diff --git a/Nlbench.sh b/Nlbench.sh index ca5f814..463ac9d 100644 --- a/Nlbench.sh +++ b/Nlbench.sh @@ -205,7 +205,8 @@ run_script() { 8) echo -e "运行${YELLOW}iperf3测试...${NC}" run_iperf3_test | tee "$temp_file" - sed -e 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" > "${output_file}_iperf3" + sed -e 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file" + cp "$temp_file" "${output_file}_iperf3" ;; # 回程路由