🌈 搜索
📅  最后修改于: 2022-03-11 14:51:01.896000             🧑  作者: Mango
output=$(command) [[ $output =~ (CpuIowait=[0-9][.][0-9]{2}) ]] && echo "${BASH_REMATCH[1]}"