From 45ddf88de5f73ee998a6f267a39f86c254e0ab6f Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 4 Jul 2024 22:37:51 +0800 Subject: [PATCH] Update Nlbench_beta.sh --- Nlbench_beta.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Nlbench_beta.sh b/Nlbench_beta.sh index 53e6d8f..05e2155 100644 --- a/Nlbench_beta.sh +++ b/Nlbench_beta.sh @@ -369,11 +369,11 @@ run_selected_scripts() { echo "0. 返回" while true; do - read -p "请输入要执行的脚本编号(用逗号分隔,例如:1,2,3):" script_numbers - if [[ "$script_numbers" =~ ^[1-9](,[1-9])*$ ]]; then + read -p "请输入要执行的脚本编号(用英文逗号分隔,例如:1,2,3):" script_numbers + if [[ "$script_numbers" =~ ^[0-9](,[0-9])*$ ]]; then break else - echo -e "${RED}无效输入,请输入1-9之间的数字,用逗号分隔。${NC}" + echo -e "${RED}无效输入,请输入0-9之间的数字,用英文逗号分隔。${NC}" fi done