#SERVICE INFO:
srv id [8503]
serv rqst id xxxxxx
serv rqst len [17]
serv status [C]
#SERVICE INFO:
srv id [8501]
serv rqst id xxxxxx
serv rqst len [17]
serv status [C]
#SERVICE INFO:
srv id [8500]
serv rqst id xxxxxx
serv rqst len [17]
serv status [C]
未被捕获到我的救援块中(重试)。为什么我无法捕捉到异常?
awk '{for (I=1;I<=NF;I++) if ($I == "service id") {print $(I+1)};}' $testfile