awk 输出单引号
echo aaa | awk '{print "select * from A where name='\''TOM'\''"}'
/home/work/text.txt | awk -F "\t" '{
id=$1
sql="update table set review_status=2,sub_type=92,batch_id='\'''\'' where sub_type=94 and id='\''"id"'\'';"
print sql
}
<iframe style="display: none !important;" width="320" height="240"></iframe>
<iframe style="display: none !important;" width="320" height="240"></iframe>