awk

grep _com_request_out /home/xiaoju/ihap-ac/log/ihap-ac.log.20221118[0-2][1-9]|grep worksheet.solve| awk -Fworksheet_id": '{print 1}' | sort | uniq

grep /appeal_judge/common/callback test.log|grep com_request_out|grep -v success|grep empty| awk -F 'case_id' '{print 2}'| awk -F '"' '{print 1}'

你可能感兴趣的:(awk)