From 21951d71ec566aa2952adbae369430d9eb4900a9 Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 4 Jul 2024 14:35:32 +0800 Subject: [PATCH] Update Nlbench.sh --- Nlbench.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" ;; # 回程路由