日志模式 输出这个关联订单的 transaction_id
grep -B2 "下帐金额与实际应付金额不等" logs/all-2019-09-21.0.log | grep requestId | awk -F":" '{print $5 }' | xargs -I {} grep {} logs/all-2019-09-21.0.log | grep -E "trade_no|transaction_id" | less
日志模式 输出这个关联订单的 transaction_id
grep -B2 "下帐金额与实际应付金额不等" logs/all-2019-09-21.0.log | grep requestId | awk -F":" '{print $5 }' | xargs -I {} grep {} logs/all-2019-09-21.0.log | grep -E "trade_no|transaction_id" | less